[users@httpd] mod_rewrite problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux