Forum Moderators: phranque
<Files *.cgi>
ForceType application/x-httpd-php
</Files>
That worked great! ...until today. For some reason I get a 500 server error. I haven't changed anything in the files or the .htaccess or otherwise modified any server settings.
However, a script I ran yesterday caused the Apache server to crash. So, I assume the crash has something to do with it.
The error log isn't very helpful. It just says that it doesn't know how to parse the *.cgi file.
I've checked my httpd.conf and php.ini, and they seem ok. Besides, I don't have any problems when I run PHP through the Apache module otherwise. So, I have no clue what's wrong.
If anyone could give me some helpful pointers as to what I should check, it would be very much appreciated.