Re: Apache w/ Potato, strange .CGI functionality.
- To: email@example.com
- Subject: Re: Apache w/ Potato, strange .CGI functionality.
- From: Adam Scriven <firstname.lastname@example.org>
- Date: Sun, 13 Aug 2000 08:55:17 -0400
- Message-id: <184.108.40.206.0.20000813085200.00df8550@oracle>
- In-reply-to: <Pine.LNX.email@example.com .org>
- References: <220.127.116.11.0.20000813023340.00b8e910@oracle>
At 10:21 2000/08/13 +0200, you wrote:
- Is the first line of the script: #!/usr/bin/perl ?? or did you try the
execution from the commandline by 'perl <script>' ??
First line is #!/usr/bin/perl
which perl gives me "#!/usr/bin/perl"
- Make sure there's a handler for .cgi scripts (srm.conf)
Yup, there is in each virtual host (as I said, the exact same script works
when run from the cgi-bin directory on each virtual host)
- Make sure permission are correct (executable for world) (httpd.conf)
- You could try using ScriptAlias, maybe that'll give you something
I have a ScriptAlias for each one, but I want to run it outside of the
script-aliased directory, in the ~user directory.
I tried another experiment, removed the apache-perl package, and installed
the apache package (IE: removed mod_perl), and it's all working fine.
Does anyone know of a difference between apache-perl and the usual mod_perl
methods? Are there things assumed in the compile step that someone using a
non-standard apache setup should know?
I've never programmed for mod_perl before, I'd like to use this box to
learn how. Should I roll-my-own, and not use the packages at all?
Toronto, Ontario, Canada