ivytony Posted October 24, 2008 Share Posted October 24, 2008 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 well, I've posted this question in another forum but didn't get any helpful reply, so I would like to ask for a little help here. By the way, I'm not a spammer. Quote Link to comment https://forums.phpfreaks.com/topic/129979-solved-how-to-set-lighttpd-proxy-to-let-apache-run-cgiperl-scripts/ Share on other sites More sharing options...
ivytony Posted October 27, 2008 Author Share Posted October 27, 2008 I think I've found the answer, I post it here in case someone else needs to know: (Apache runs on port 81) proxy.server = ( ".pl" => ("localhost" => ( "host" => "127.0.0.1", "port" => 81 ) ) ) Quote Link to comment https://forums.phpfreaks.com/topic/129979-solved-how-to-set-lighttpd-proxy-to-let-apache-run-cgiperl-scripts/#findComment-675272 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.