You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Victor B. Gonzalez" <ap...@vbgunz.com> on 2003/05/31 22:56:09 UTC
Re[3]: [users@httpd] Perl is so hard to install onto Apache, how, please help...
Hello Rich,
>> RB> Always look in the error log first, no matter what goes wrong. It will
>> RB> give you a great deal of information that is not immediately evident
>> RB> from looking in the browser error messages.
>> I need to bundle Perl but cannot write to the Registry. If I need to
>> manually change the shebang line on every script I'll do it but even
>> that solution is *not* working at the moment.
RB> So, if you create a perl program with the correct #! line, what happens,
RB> exactly?
RB> #!Z:/Apache/Perl/Bin/perl.exe
I've been trying that for the longest but it kept coming back with
errors... But I believe I just got it to work from any directory...
Something about this document helped me
http://httpd.apache.org/docs/howto/cgi.html thank you Rich Bowen for
posting the link...
I hope I got it right this time... Is the print.pl script bundled with
Apache supposed to show me something like this?
COMSPEC="C:\WINDOWS\system32\cmd.exe"
DOCUMENT_ROOT="Z:/Apache/htdocs"
etc,?
Believe it or not I believe the two little periods on line 765 was
screwing me up...
It looked like this
AddHandler cgi-script .pl .cgi
I changed it to this and it just worked
AddHandler cgi-script pl cgi
It is all I remember changing as I saw it in the document Rich Bowen
linked too.
Anyhow, I believe I got it working and am very happy. I never thought
I get PHP and Perl to run on Apache, never the less use it.
Thanks for the mailing list and thanks to everyone else, no one in
particular but thank you all very much :)
--
Best regards,
Victor B. Gonzalez
apache_2.0.46-win32-x86-no_src
Windows XP 5.1 Build 2600 Service Pack 1
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org