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

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: http 404 error arghhhhh
by ikegami (Patriarch) on Mar 16, 2005 at 22:05 UTC

    I'm not getting a 404, I'm getting a 405 Method (POST) Not Allowed. If I GET it, I see the source code. It's definitely a web server configuration issue. The most likely causes are: the web server wasn't configured to run CGI scripts from that directory, or the permission aren't set right.

    You should use strict to avoid coding errors. You should use CGI instead of writting your own CGI parser to make sure you're doing things right. You also have a security flaw allowing the script to be used to send emails to anyone the user desirers since you accept the recipient from the user. Might I suggest you use the NMS's FormMail instead of writting your own script?

Re: http 404 error arghhhhh
by jhourcle (Prior) on Mar 16, 2005 at 21:00 UTC
    Look at your webserver error logs -- that's what they're there for.
Re: http 404 error arghhhhh
by halley (Prior) on Mar 16, 2005 at 20:57 UTC
    This has NOTHING to do with Perl. And a web server will typically log errors and issue a 500 for access problems on the script. You've probably just got a typo in the files which are present on the server.

    --
    [ e d @ h a l l e y . c c ]

Re: http 404 error arghhhhh
by ww (Archbishop) on Mar 16, 2005 at 20:59 UTC
    arghhh wrote: "go to the contact page" ?!??
    Not bloody likely. "Step into my parlor, said the spider to the fly"
    And your script says??? Can't debug your code without seeing it; if the code isn't the issue, this isn't the Apache-help-me list.
    However, do check that what you think is the "right path" agrees with the server's notion of the "right path" (in the config file).