Configuration

Once you have installed xai, you have to set up Apache configuration:

# xai

# don't forget this alias
Alias /.libs/ /var/lib/xai/

# don't forget to load perl module with something like: LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
PerlSetVar   xaiDefaultTheme    'explode'
PerlSetVar   xaiUriLib          '/.libs/themes'
PerlSetVar   xaiLocalCacheDir   '/var/cache/xai'
PerlSetVar   xaiLocalThemeDir   '/var/lib/xai/themes'
PerlSetVar   xaiOutputMimeType  'application/x-xmlautoindex+xml'
PerlSetVar   xaiVideoScriptDir  '/etc/apache2/Apache/XmlAutoIndex/'

Options +Indexes

# activate mod_xslt on this mime-type
# nb: don't forget to load module before with something like: LoadModule mxslt_module /usr/lib/apache2/modules/mod_xslt.so
AddOutputFilterByType mod-xslt application/x-xmlautoindex+xml

<Location /yourdir>
	# to activate only in /yourdir
	SetHandler            modperl
	PerlResponseHandler   Apache::XmlAutoIndex
</Location>

Once you have started your apache, check if themes are available in: http://your-web-site/.libs/themes/

You can compare with: http://www.vanbelle.fr/.libs/themes/

If first test is successfull, go to: http://your-web-site/yourdir