Page 1 of 1

htaccess

Posted: Wed Mar 22, 2006 8:51 am
by my_raj_raj2
Hi,

I put htaccess code in my site

Code: Select all

RewriteEngine On
 RewriteRule ^(.+)\.html$ index.php?mod=$1 [L,QSA] 
 Redirect temp ErrorDocument 404 index1.php?mod=view-page
 ErrorDocument 500 "/errors//http-error.cgi"
I used this coding.but i received

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have used the error.

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


what i do?

Anybody know how to solve it?

Posted: Wed Mar 22, 2006 9:36 am
by feyd
comment out lines to figure out which line is actually causing the problem first.

Posted: Wed Mar 22, 2006 9:49 am
by pickle
Check the last two lines. I'm not sure I've seen 'temp' in any other .htaccess file (though I'm by no means a guru). Also try taking out the double quotes from the last line.