[users@httpd] Redirecting url with except cgi-bin

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

 



Hi All,
 
I want to redirect any page , say  http://www.somedomain.com/foo/bar/test.html to http://www.otherdomain.com/foo/bar/test.html , except on a  condition that www.somedomain.com/cgi-bin/home.cgi should fetch the page from local server's cgi-bin path...
 
RedirectMatch ^(.*)\.*$ http://www.somedomain.com/us/company/en/$1
This rule works, however, cgi-bin also redirects to destination url, which should happen
 
Any idea , how to frame a exception condition, ?
 
Thanks in Advance
Ganeshh

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


[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