[thelist] Configuring Apache virtual host path to own cgi-bin

George Dillon <> Evolt! evolt at georgedillon.com
Sun Nov 4 15:49:35 CST 2001


I'm sure this is dead simple, but it's had me stumped for months... so any
help would be much appreciated.

I'm trying (again) to get CGIs working locally using Apache and ActivePerl,
and I'm almost there this time...

So far I have set up a virtual host 127.0.0.3 with root "f:/www/testsite3"

If I call a cgi (e.g. "hello.cgi" from
http://127.0.0.3/testsite3/cgitest.shtml )
my error.log indicates that Apache is looking for the cgi in "E:\Program
Files\Apache Group\Apache\cgi-bin" (and if I put it in that directory it
works fine)

I want each virtual directory to have its own cgi-bin, so in the case above
I want Apache to look in "F:\www\mydomain.com\cgi-bin"

How do I set this up?

TIA

George Dillon







More information about the thelist mailing list