lighttpd forum lighty > How to set Lighttpd proxy to let apache run cgi/perl scripts

Posted by Tony Walt
on 24.10.2008 14:27
I'm running both Apache (on port 81) and Lighttpd (port 80) on my VPS. I 
would like to have Apache run CGI/Perl scripts only for virtual hosts in 
the Lighttpd.conf. My Lighttpd.conf already has fastCGI enabled though.

The reason I want to have apache serve CGI/Perl scripts only is I'm 
running PHPMotion V2 on one my virtual hosts on Lighttpd. It's already 
known that the uploader script in perl doesn't run well on Lightty. So 
I'll have to let apache do that on top of Lightty.

Should I comment out the mod_cgi in Lighttpd configuration?

Could someone here teach me a bit how to do this? thanks