pskiz has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I'm fairly new with Perl and I'm having a problem accessing a cgi script i have written in order to validate a user name and password. This is not really a Perl question I guess... We have a site based on a third-party e-commerce package, the guy who I've replaced had written a cgi script that emails shipping information and product needs to our shipping department. His cgi script is located on another server due to the fact that the e-commerce host doesn't accept files with .cgi extensions. His script is accessible and executes perfectly, yet whenever I try to access the script I have written I get a "HTTP 404 - file not found" error. My script is located in the same folder as his on our server, it has the correct permissions set, and it compiles with no problems on my machine. Yet, for some reason, I can't access my script, only his. What's the deal? ANY information or insights are extremely appreciated. Thanks.

Replies are listed 'Best First'.
Re: problems accessing remote server
by astroboy (Chaplain) on Oct 01, 2004 at 16:37 UTC
    This could be caused by any number of issues, I guess, but without seeing your system it's hard to tell. For instance, if you're using Apache, one thing to look at would your Alias and <Directory> settings in the httpd.conf to ensure that your script's location is actually known by Apache.
Re: problems accessing remote server
by xorl (Deacon) on Oct 01, 2004 at 15:21 UTC
    How do you call the script? If it is on a different server you're not going to be able to use releative paths. Basically need more info to figure out what is going on here. And I believe you're correct when you say it is not really a Perl question.