Jump to content

[SOLVED] How to set Lighttpd proxy to let apache run cgi/perl scripts


ivytony

Recommended Posts

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.

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

                        ) )

                    )

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.