Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#447264: apache2.2-common: icons do not work on virtualhost with mod_rewrite on

From: Richard van den Berg <richard(at)vdberg.org>
Date: Sat Nov 10 2007 - 05:06:40 EST


Stefan Fritsch wrote:
> From the source it appears that this error message can only appear
> when you have RewriteRules in either .htaccess, <Directory> context,
> or <Location> context. So look for those.
>

Thanks for that pointer. Now I found the offending rules, inside a site-enabled file for my webmail virtual host:

<IfModule rewrite_module>
  <IfModule ssl_module>
    <Location />

      RewriteEngine on
      RewriteCond %{HTTPS} !^on$ [NC]
      RewriteCond %{HTTP_HOST} ^webmail [NC]
      RewriteRule . 
https://%{HTTP_HOST}%{REQUEST_URI}  [L]
    </Location>
  </IfModule>
</IfModule>

When I move those rules inside the <Virtualhost> tags, everything works. I still don't understand how these rules could have caused this problem. What do these rules have to do with symlinks for the /icons directory?

Thanks for the help!

Richard

-- 
To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sat Nov 10 05:14:41 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:58:53 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library