Problem with mod_rewrite on Windows

New to mod_rewrite? This is a good place to start.

Postby Guest » Thu Jun 06, 2002 2:19 pm

I want to rewrite http://mydomain.com/about.php to http://mydomain.com/about/

I've got:
RewriteEngine on
RewriteRule ^about/$ about.php [R]

but I keep getting 500 errors. I can't see anything wrong with this. I'm wondering if it could be that I need a RewriteBase or a RewriteCond.

I'm testing this on Apache 1.3.14 on a windows machine where the doc root is at c:apachehtdocs and the .htaccess file is in the root (of the server).

TIA,
Raj.
Guest
 

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 27 guests

cron