Re: [users@httpd] Problem with rewrite round robin lb.pl

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

 



On 5/23/05, Drew Nichols <drew@xxxxxxxxxxx> wrote:
>        RewriteMap    lb      prg:/etc/httpd/conf/lb.pl
>        RewriteRule   ^/(.+)$ ${lb:$1}           [P,L]
>        #RewriteRule ^/(.*) hello$1 [P,L]

> In the rewrite log I get
>  (2) init rewrite engine with requested uri /
>  (3) applying pattern '^/(.+)$' to uri '/'
>  (1) pass through /

Well, the URI of "/" does not match the regular expression ^/(.+)$, so
no rewriting takes place.  Note that the "+" indicates that there must
be at least one matching character following the /.

Joshua.

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