Forum Moderators: coopster

Message Too Old, No Replies

parse html as php .htacess error

         

MWpro

4:32 am on Jun 1, 2006 (gmt 0)

10+ Year Member



I am trying to get my server to read html as php so I don't have to change any file names. I have done this is the past successfully with this line in the .htaccess file:

AddType application/x-httpd-php .php .html

But since my webserver has switched ownership, using that gives me this error:


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.34 Server at www..com Port 80

Any ideas?

coopster

3:21 pm on Jun 1, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Did you have a look at the error in the error log, as suggested? Have a look there first and you'll likely find more specifics as to where the problem lies.