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

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



On Friday 09 November 2007, Richard van den Berg wrote:
> All I have for rewrite rules are like the following, stripping www
> from the site name. They are in
> /etc/apache2/sites-available/default
>
>     RewriteCond %{HTTP_HOST} www.rob.roukens.org [NC]
>     RewriteRule ^.*$ http://rob.roukens.org/ [R,L]
>
>
> Here is one example of a virtual host that showed this problem.
> None of the paths mentioned are symlinks:
>
> <VirtualHost *:80>
>     DocumentRoot /home/erik/rob_html
>     <Directory /home/erik/rob_html>
>         Options Indexes MultiViews FollowSymLinks
>         AllowOverride Limit
>     </Directory>
>     ServerName rob.roukens.org
>     ErrorLog /var/log/apache2/rob-error.log
>     LogLevel warn
>     CustomLog /var/log/apache2/rob-access.log combined
>     ServerSignature On
> </VirtualHost>

This still works for me.

Maybe you got confused by the browser cache and the problem was 
actually something else? Can you reproduce it again if you remove the  
SymLinksIfOwnerMatch from /usr/share/apache2/icons?

If not, for which requests exactly did the error message appear?
Do you have any .htaccess files, either in /usr/share/apache2/icons or 
in /home/erik/rob_html?





Reply to: