RE: [users@httpd] Need a mod-rewrite rule for a website's home page

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

 



You mean literally reverse the order of the rewrite rules, like this?:

RewriteRule ^About/?(-[a-zA-Z0-9_/]+)/?$ About/index.php?bout=$1 [L]
RewriteRule ^/?([-a-zA-Z0-9_/]+)/?$ /index.php?home=$1 [L]

I tried that, but it doesn't seem to work.

I have to run do some errands, but I'll do some research on RewriteCond when I get back. Thanks!


Celebrate Earth Day everyday! Discover 10 things you can do to help slow climate change. Yahoo! Earth Day
[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