View Single Post
  #2  
Old 10th May 2013, 13:06
martin1977 martin1977 is offline
Junior Member
 
Join Date: May 2009
Posts: 20
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I solved this problem by adding a whole config. It's a mystery why I suddenly need to do this (before it worked with only the Alias line) but the config now looks like this:
Code:
# RoundCube alias and redirect functions
Alias /webmail /var/www/roundcube
<Directory /var/www/roundcube>
  Options +FollowSymLinks
  # This is needed to parse /var/www/roundcube/.htaccess. See its
  # content before setting AllowOverride to None.
  AllowOverride All
  order allow,deny
  allow from all

        <IfModule mod_php5.c>
                AddType application/x-httpd-php .php

                php_flag magic_quotes_gpc Off
                php_flag track_vars On
                php_flag register_globals Off
                php_value include_path .
        </IfModule>

</Directory>
# Protecting basic directories:
<Directory /var/www/roundcube/config>
        Options -FollowSymLinks
        AllowOverride None
</Directory>
<Directory /var/www/roundcube/temp>
        Options -FollowSymLinks
        AllowOverride None
        Order allow,deny
        Deny from all
</Directory>
<Directory /var/www/roundcube/logs>
        Options -FollowSymLinks
        AllowOverride None
        Order allow,deny
        Deny from all
</Directory>
Reply With Quote