AW: [users@httpd] Meaninf of [L]

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

 



RewriteCond %{REMOTE_HOST}  ^host1.*  [OR]
RewriteCond %{REMOTE_HOST}  ^host2.* 
RewriteRule  ^/$                 /homepage.max.html  [L]

The [OR] is only relevant if you have more conditions than 1. In this case if yout want to say if REMOTE_HOST begins with "host1" or "host2"
[L] says Last rule RewriteRule wich follows after this line dön't apllay for this request
 
Cheers
 
Oliver

________________________________

Von: senthil kumar [mailto:bsenthil@xxxxxxxxx]
Gesendet: Fr 13.01.2006 10:31
An: users@xxxxxxxxxxxxxxxx
Betreff: [users@httpd] Meaninf of [L]


RewriteCond %{REMOTE_HOST}  ^host1.*  [OR]
iteRule  ^/$                 /homepage.max.html  [L]

Please suggest the meaning of [OR] ? [L] ? on rewrite rule


<<winmail.dat>>

---------------------------------------------------------------------
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