I am trying to run a cgi script and get a 500 internal server error, the script is a very simple contact us form that I got off the internet and amended a couple of variable so that the email comes to me, can someone take a look and see if I have done anything simple wrong.
They will work if I turn off suexec.... which I dont want to do.... So now its a question of what did I do wrong/how do I fix apache so that suexec will work with /home/www instead of the default location.
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
Quote:
Originally Posted by mphayesuk
They will work if I turn off suexec.... which I dont want to do.... So now its a question of what did I do wrong/how do I fix apache so that suexec will work with /home/www instead of the default location.
If your CGI scripts are outside suExec's document root, then you must recompile suExec - there's no other solution...
Recent comments
1 day 8 hours ago
1 day 8 hours ago
1 day 13 hours ago
1 day 20 hours ago
1 day 20 hours ago
1 day 22 hours ago
2 days 2 hours ago
2 days 9 hours ago
2 days 12 hours ago
2 days 14 hours ago