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\cgi-bin" is my test script, hello.pl. This is hello.pl: #!/usr/bin/perl -w print "Content-Type: text/html\n\n"; print "<h1>Hello World!\n</h1>"; print "<p>Some Text\n</p>"; When I point the browser to http://localhost/cgi-bin/hello.pl I see the HTML formatted text. I noticed in your perl's shebang line there was a space after the #!, that might not be right. Hope that helps. Dave 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 like a text page. At 09:20 AM 10/24/2001, Etienne Marcotte wrote: >do you have the full path in the shebang line? "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 when > getting > Perl to > talk to Apache. Any help would be most appreciated. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]