[Melbourne-pm] perl error message

Guy Morton guy at alchemy.com.au
Tue Aug 19 14:46:25 PDT 2008

Apache is telling you what the problem is - it can't find the file.  
You need to find out from the apache config file where its document  
root is and make sure the file is in the path you are asking for.

Sometimes Apache comes pre-configured with a special path where it  
expects you to put CGI scripts. If that's the case it's probably  
easier to use their settings to start with. Look for a ScriptAlias  


You will also need to ensure that ExecCGI is on for the path that your  
file is in. If that is not set but your file is in the right place you  
will see a Forbidden error page, so that's not the cause of your  
current problem.

I had a very quick Google - this page might help you



On 19/08/2008, at 11:59 PM, John Thornton wrote:

>       When I try to put the perl script hello world! into the  
> browser I get
> this:
>      Not Found
> The requested URL /cgi-bin/hello.cgi was not found on this server.
>  [the top of the creen has the 404 NotFound - Mozilla message]
>     Now, this might need some explanation: although hello.pl had  
> worked for
> testing my script on the windows start and run command line,  
> according to
> the VTC tutorial I had to put in a .cgi suffix as above to get it to  
> work in
> a browser, and add some other code to my script. I did all of this  
> as the
> tutorial asked, at least as far as I know.
>      John
> _______________________________________________
> Melbourne-pm mailing list
> Melbourne-pm at pm.org
> http://mail.pm.org/mailman/listinfo/melbourne-pm

More information about the Melbourne-pm mailing list