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.
It could be that or that you have mistakes in your .htaccess file. Would you be willing to post the file contents?
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} ^(.*).htm [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*).html [NC] RewriteRule ^(.*) /passthru.php?file=$1 PHP: 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
Best thing to do is ask your administrator to look at the httpd error log for you and tell you what the error is.