PDA

View Full Version : little help with mod-rewrite and php on linux



dkoepke
02-09-2005, 05:06 PM
I have a site that I purchased that is using what I believe to be mod-rewrite on a linux dedicated server.

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@computerprinterreviews.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.

.htaccess code that should be handling it:

<Files products>
#ForceType application/x-httpd-php
SetHandler cgi-script
</Files>

Any ideas? I believe that ModRewrite is enabled in the httpd.conf

ordinary_guy
02-09-2005, 06:37 PM
am guessing if your file products is a php file, then this must be :



<Files products>
ForceType application/x-httpd-php
</Files>


[/code]