Re: [users@httpd] unexpected RewriteRule behavior

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

 



On 10/31/05, Michael D. Berger <m.d.berger@xxxxxxxx> wrote:
> The following:
>
>    ...
>    RewriteEngine on
>    RewriteCond %{REQUEST_URI} !^.*/picts/.*$
>    RewriteRule ^/.*\.html(\?.*$)? /index.cgi$2 [L]
>    RewriteCond %{REQUEST_URI} !^.*/picts/.*$
>    RewriteRule ^/(.*/)?$ /index.cgi [L]
> </VirtualHost>
>
> sends
>    GET /favicon.ico
> to index.cgi .  I would not expect this because it
> does not appear to match any pattern.  Wherein do
> I err?

Start by using the RewriteLog to check what mod_rewrite is doing.

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