dead-poetic
10-24-2005, 07:15 PM
I want to use mod_rewrite. when you go to http://domain.com/conact_us/contact/webmaster/ it is same as http://domain.com/conact_us.php?contact=webmaster. here is the code that I am using(got the code from http://www.webmaster-toolkit.com/mod_rewrite-rewriterule-generator.shtml):
Options +FollowSymLinks
RewriteEngine on
RewriteRule conact_us/(.*)/(.*)/$ /conact_us.php?$1=$2 but I get 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, 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.
Apache Server at localhostWhat is wrong, I am running Apache 1.3.29, mod_rewrite is enabled, PHP 4.3.4.
Options +FollowSymLinks
RewriteEngine on
RewriteRule conact_us/(.*)/(.*)/$ /conact_us.php?$1=$2 but I get 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, 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.
Apache Server at localhostWhat is wrong, I am running Apache 1.3.29, mod_rewrite is enabled, PHP 4.3.4.