httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jennifer Zelazny <jzela...@sandboxdev.com>
Subject [users@httpd] mod_rewrite problems
Date Wed, 31 Aug 2005 19:54:44 GMT
Hello.  I have what I thought would be a simple mod_rewrite need, but  
a few hours later, I need some help.

I have some URLs that are ugly: http://www.example.com/modules/ 
content/index.php?id=14 which I would like to change to:
http://www.example.com/help.php.  I tried creating a .htaccess file  
with:


<IfModule mod_rewrite.c>
RewriteEngine On

RewriteRule ^/modules/content/index.php\?id=14$ /help.php [L]

</IfModule>


This does not work.  I know mod_rewrite is working, as I tested it  
with a simple rule: RewriteRule test.html / [L] and that worked fine.

  Any thought would be appreciated.


Thanks,
Jen


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message