Announcement

Collapse
No announcement yet.

Apache2 to lighttpd, confused squirrel needs advise

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Apache2 to lighttpd, confused squirrel needs advise

    Hi,

    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
Working...
X