PDA

View Full Version : Running Lighttpd with Plesk


supagroova
03-03-2006, 04:41 AM
Has anyone had any success running Lighttp on port 80 using domain/websites created by Plesk?

I am having problems trying to run Lighttpd on my Plesk created virtual hosts on a port other than 80. When I attempt to run Lighttpd on port 80 I encounter all sorts of problems (like bringing the whole VPS server crashing to its knees... :confused: ).

(I think it might be best is to configure Apache to proxy all requests to my Lighttpd server but I don't know how to do this.)

supagroova
03-03-2006, 05:12 AM
Ok, so I have worked out a way to do it. Not sure if this is the best way but for now it works.

In the ~username/conf/httpd.include file I added the following

<VirtualHost _YOUR_IP_:80>
...
ProxyPass / http://localhost:_PORT#_/
ProxyPassReverse / http://localhost:_PORT#_/
...
</VirtualHost>

So now you can route all traffic straight through to Lighttpd running on whatever port number you choose. :)