Hi guys,
I'm totally new to lighty (Apache user) and I need some help (again). I
would
like to have something like that:
NameVirtualHost xxx.xxx.xxx.xxx:80
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName
domain.com
ServerAlias
www.domain.com
DocumentRoot /var/www/user/folder/
<Directory "/var/www/user/folder/">
Options -Indexes Includes FollowSymLinks
AllowOverride All
Allow from all
</Directory>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/xwiki2(/.*)?$ [NC]
RewriteRule ^/$
http://www.domain.com/xwiki
ProxyPass /xwiki
http://www.domain.com:8082/xwiki
ProxyPassReverse /xwiki
http://www.domain.com:8082/xwiki
ProxyPass /xwiki2
http://www.domain.com:8082/xwiki2
ProxyPassReverse /xwiki2
http://www.domain.com:8082/xwiki2
ErrorLog /var/www/user/error.log
TransferLog /var/www/user/access.log
CustomLog /var/www/user/combined.log combined
</VirtualHost>
How can I achieve that in lighty? I tried to understand (really!) the
documentation provided by lighty, but they are very confusing to me.
Any help is much appreciated (sorry that it's not quite a XWiki topic...)!
Cheers,
Squirrel