MPAA - Problem Mortgage - Homes for Sale - Personal Loans - 0 Credit Cards

PDA

View Full Version : Internal server error


Design Agent
Feb 17th 2005, 6:55 am
When I upload the .htaccess file (I have static html pages at the moment) this error comes up sitewide. Does this mean my server does not support mod_writes?

Thanks

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

Please contact the server administrator 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 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

palespyder
Feb 17th 2005, 7:06 am
It could be that or that you have mistakes in your .htaccess file. Would you be willing to post the file contents?

Design Agent
Feb 17th 2005, 7:10 am
The file is copy pasted from here:
http://forums.digitalpoint.com/showthread.php?t=5659

palespyder
Feb 17th 2005, 7:20 am
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} ^(.*).htm [NC,OR]
RewriteCond %{REQUEST_FILENAME} ^(.*).html [NC]
RewriteRule ^(.*) /passthru.php?file=$1


Try removing the if portion of the script and just using the mod rewrite stuff and see if you get the same error. I tried this in my .htaccess without the if statement and it seems to work, but, if I leave them in it gives me a server error. This could just be a configuration issue on your server as well

Design Agent
Feb 17th 2005, 8:30 am
Thanks ill give that a go

Design Agent
Feb 17th 2005, 8:36 am
That doesnt seem to make any difference.. my php knowledge is very basic at the moment..

digitalpoint
Feb 17th 2005, 9:05 am
Best thing to do is ask your administrator to look at the httpd error log for you and tell you what the error is.

Design Agent
Feb 17th 2005, 9:33 am
Thanks, Ill have words with them.