Operating Systems > Linux and UNIX
HEHE Um cgi-bin????
fuckoffmicrosoft:
Ok i keep gettin 500 internal server error in the web cgi-bin but when i put a script anywhere else i can use it ive tried everything ive found on the web but to noavail.
redhat 7.3
Master of Reality:
is this your own webserver?
apache?
the scripts work if there anywhere else but the cgi-bin?
Then dont use the cgi-bin
fuckoffmicrosoft:
yeah apache
what i mean is for example i tested out accmanager and it made its own folder on my os that wasnt even where my web folder is (i deleted for that didnt seem right) but anyway it worked. But if i run a script in the web folder i get the 500 error cgi-bin or not
fuckoffmicrosoft:
ok scratch that when i place qtest in the html folder it wants me to download
voidmain:
Sounds like you are trying to run a CGI program. By default, CGI programs are only allowed to run in /var/www/cgi-bin. There is a problem with the CGI program which is why you are getting a 500 error. You can see the real error message by looking at the Apache error log. Look at the last entries in the /etc/httpd/logs/error_log to see the error messages. If you want to get CGI programs to run in other directories other than "cgi-bin" there are a few changes you need to make (only about 2 or 3) in the /etc/httpd/conf/httpd.conf configuration file. m0r, could you point him to the thread(s) on this forum where we went through this? It will hopefully save us having to repeat...
Navigation
[0] Message Index
[#] Next page
Go to full version