painthappy has asked for the wisdom of the Perl Monks concerning the following question:
I wrote a custom module to run with my site. The .pm works and runs fine in the cgi-bin next to a test.cgi file. Great. But if I take the .pm and .cgi out of the cgi-bin, and put it into the httpdocs folder and run my test.cgi, I get an internal server error.
I know it's not the code, as it runs fine from the browser in the cgi-bin.
In the httpdocs folder, via ssh, I can run the test.cgi file and it will run fine, but that is via command line and as root.
So... My question is: What permissions and I royally missing?
On a side note: I've changed everything I could think of in the httpd.conf file, and the .cgi runs fine MINUS the .pm, so it's the .pm file that is causing the issue
Thanks in advance, and thank you from saving me from this!!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Run a custom module outside of the cgi-bin
by Herkum (Parson) on Jan 21, 2007 at 01:48 UTC | |
by painthappy (Novice) on Jan 21, 2007 at 02:01 UTC | |
|
Re: Run a custom module outside of the cgi-bin
by Joost (Canon) on Jan 21, 2007 at 01:40 UTC | |
by painthappy (Novice) on Jan 21, 2007 at 01:57 UTC | |
by Joost (Canon) on Jan 21, 2007 at 02:06 UTC | |
|
Re: Run a custom module outside of the cgi-bin
by f00li5h (Chaplain) on Jan 21, 2007 at 11:20 UTC |