View Single Post
Old 10th October 2006, 00:13
Ovidiu Ovidiu is offline
Senior Member
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts

to be honest I got nowhere with the second apache2 install :-(
my next line of thought was, I could install another light web server with only the minimal config, as it needs not serve much, I could just skip the most config steps, I want it to only server static content, so any web serevr would do so I started looking closer at lighttpd and found only this tutorial that gives more info for an install on debian: and this is an example of a vhost setting for lighttpd:

To run lighttpd with multiple domains you would setup virtual hosting. e.g. in lighttpd.conf:

$HTTP["host"] =~ "(www.)?" {
server.document-root = "/var/www/example/current/public/"
server.error-handler-404 = "/dispatch.fcgi"
fastcgi.server = (
".fcgi" => (
"localhost" => (
"socket" => "/var/run/www/"

$HTTP["host"] =~ "(www.)?" { server.document-root ="/var/www/example2/current/public/" server.error-handler-404 = "/dispatch.fcgi" fastcgi.server = ( ".fcgi" => ( "localhost" => ( "socket" => "/var/run/www/example2-0.socket" ) ) ) }
besides that it is only available in unstable so I would have to change the status of a lot of stuff from stable to unstable so I just stopped.

is there anyone here who uses a secondary webserver installed on the same machine and can give me some hints on how to do this? I do not really care anymore what is used for the secondary webserver, I just need it to be able to server static content for vhosts...

Last edited by Ovidiu; 10th October 2006 at 00:40.
Reply With Quote