Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Message: "Sorry...cant run from here"
August 29, 2004, 7:50 pm
rate this thread
I use the same .PL file to run a simple email-script. On one site it works
fine, but on the other site I get the message "Sorry,... cant run from
here". The CHMOD-settings are correct in both directories (755). Firewall is
How is possible?
Re: Message: "Sorry...cant run from here"
In Apache, CGI scripts can only run in your cgi-bin directory unless the
ExecCGI option is set for other directories.
You could try to override this (if your webhost has allowed this in the
primary Apache configuration file) in a .htaccess file in your webroot:
But as I said, this may or may not work if the main configuration file
doesn't allow you to override this option with .htaccess.
Kim André Akerø
(remove NOSPAM to contact me directly)