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.

Link to comment
Share on other sites

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

                        ) )

                    )

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.