Hi,
I'm totally new to lighty (Apache user) and I need some help. I would
like to have something like that:
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 Kubuntu topic...)!
Cheers,
Squirrel
I'm totally new to lighty (Apache user) and I need some help. I would
like to have something like that:
Code:
NameVirtualHost xxx.xxx.xxx.xxx:80
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName domain.com
ServerAlias [url]www.domain.com[/url]
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} !^/wiki2(/.*)?$ [NC]
RewriteRule ^/$ [url]http://www.domain.com/wiki[/url]
ProxyPass /wiki [url]http://www.domain.com:8082/wiki[/url]
ProxyPassReverse /wiki [url]http://www.domain.com:8082/wiki[/url]
ProxyPass /wiki2 [url]http://www.domain.com:8082/wiki2[/url]
ProxyPassReverse /wiki2 [url]http://www.domain.com:8082/wiki2[/url]
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 Kubuntu topic...)!
Cheers,
Squirrel
