View Full Version : 404 on accessing a pl file through browser
brazenskies
07-04-2008, 05:40 PM
I am trying to run a perl script to generate some db info.
It runs fine from command line but when I try access it through a browser I get a 404.
Any ideas?
oesxyl
07-04-2008, 06:50 PM
I am trying to run a perl script to generate some db info.
It runs fine from command line but when I try access it through a browser I get a 404.
Any ideas?
I guess, server settings. check if mod_rewrite is enabled and check how the request is redirected.
server logs can help you, :)
if the script run from command line and you use strict and warnings and don't complain it must also run as cgi script.
PS: I presume you have support for perl on server, :)
regards
FishMonger
07-04-2008, 06:56 PM
HTTP 404 error
http://en.wikipedia.org/wiki/HTTP_404
What directory is the script located in and what path did you specify in the url?
brazenskies
07-09-2008, 11:25 AM
I guess, server settings. check if mod_rewrite is enabled and check how the request is redirected.
server logs can help you, :)
if the script run from command line and you use strict and warnings and don't complain it must also run as cgi script.
PS: I presume you have support for perl on server, :)
regards
Thanks for the reply. Server 2003 here, so no mod_rewrite.
Perl is installed and runs fine. I created a virtual directory the the path to the files on the server. .pl and.cgi extensions are enabled for both the domain and the virtual directory. Permissions are also set to allow them to run.
The file definately exists! It's really frustrating!!!
Thanks again
brazenskies
07-09-2008, 11:49 AM
There was a problem with the Web Service Extension in IIS so I deleted and added it again.
I no longer get the 404 but I do get this error now....
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.
Any ideas?
brazenskies
07-09-2008, 01:07 PM
sorted. My Perlis.dll file was corrupt!
Thanks again
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.