rewrite problem

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

 



Hi
 
I want do rewrite on file proxy.pac. that means if a client use IE  from 10.1.1.0/24 to query proxy.pac, will get proxy1.pac, and other get proxy.pac.
 
I have did:
 
<IfModule rewrite_module>
        RewriteEngine On
        RewriteCond %{REMOTE_ADDR} ^10\.1\.1\.
        RewriteRule ^proxy.pac$ proxy1.pac
</IfModule>

and reload httpd, but, the client in subnet 10.1.1.0/24 still get proxy.pac not proxy1.pac.
 
Could anyone advice me what I did wrong?
 
Any commets will be appreciated
 
Thanks in advance
 
xll

[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