Re: Perl, Win2K, and Apache

2001-10-27 Thread David R. Reimertz
I have Apache 1.3.20 running on my Win2k machine so maybe this'll help you. In the http.conf file, I use the defaults except the following line is uncommented so it'll use the Windows registry instead of the shebang line: ScriptInterpreterSource registry In "C:\Program Files\Apache Group\Apache

Re: Perl, Win2K, and Apache

2001-10-24 Thread Richard S. Crawford
That didn't seem to do it. I suspect that there may be something deeper in my httpd.conf file that I'm missing. I'll keep poking around. At 10:30 AM 10/24/2001, Etienne Marcotte wrote: >Hum.. > >On my computer, exact same configuration (Apache, mySQL, Perl) I open IE >and go to >http://localh

Re: Perl, Win2K, and Apache

2001-10-24 Thread Etienne Marcotte
Hum.. On my computer, exact same configuration (Apache, mySQL, Perl) I open IE and go to http://localhost/cgi-bin/perltest.pl and it works. 404 error is file not found, so this is strange.. it's probably in your httpd.conf file you should have a line stating: ScriptAlias /cgi-bin/ "C:/Program

Re: Perl, Win2K, and Apache

2001-10-24 Thread Richard S. Crawford
Done... but is there then a way to get to the script directly, so that I can browse to http://localhost/cgi-bin/perltest.pl ? I get a 404 error when I try.. At 09:54 AM 10/24/2001, Etienne Marcotte wrote: >You need to put the pl file in /cgi-bin/ > >Etienne > >"Richard S. Crawford" wrote: > >

Re: Perl, Win2K, and Apache

2001-10-24 Thread Etienne Marcotte
You need to put the pl file in /cgi-bin/ Etienne "Richard S. Crawford" wrote: > I do indeed: > > #! c:/Perl/bin/Perl.exe -w > > Unfortunately, the output I get when I browse to > http://localhost/perltest.pl or http://localhost/perltest.cgi is simply the > text of the script itself, formatted l

Re: Perl, Win2K, and Apache

2001-10-24 Thread Richard S. Crawford
I do indeed: #! c:/Perl/bin/Perl.exe -w Unfortunately, the output I get when I browse to http://localhost/perltest.pl or http://localhost/perltest.cgi is simply the text of the script itself, formatted like a text page. At 09:20 AM 10/24/2001, Etienne Marcotte wrote: >Humm > >do you have th

Re: Perl, Win2K, and Apache

2001-10-24 Thread Etienne Marcotte
Humm do you have the full path in the shebang line? Etienne "Richard S. Crawford" wrote: > I've got Apache running on this Win2K box, as well as MySQL. I can make > PHP talk to MySQL, and I've managed to get Tomcat up and running and > talking to Apache as well, but I seem to be at a loss whe

Perl, Win2K, and Apache

2001-10-24 Thread Richard S. Crawford
I've got Apache running on this Win2K box, as well as MySQL. I can make PHP talk to MySQL, and I've managed to get Tomcat up and running and talking to Apache as well, but I seem to be at a loss when getting Perl to talk to Apache. Any help would be most appreciated. Sliante, Richard S. Cr