One of my clients is hosting their Web site on a server where PHP is run as a CGI binary. I haven't installed/configured the PHP binary on my machine (Win2k with Apache). So, to avoid renaming the PHP scripts to *.php I threw in an .htaccess in the work folder:
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.