#1  
Old 8th May 2013, 12:50
martin1977 martin1977 is offline
Junior Member
 
Join Date: May 2009
Posts: 20
Thanks: 0
Thanked 3 Times in 3 Posts
Default Alias redirect ERROR 403

I use
Code:
Alias /webmail /var/www/roundcube
to access roundcubemail. It seems I touched the wrong skrew, because now I get error 403 when I call http://www.domain.xyz/webmail (domain is located in /var/www/domain.xyz/web)
but I do not recall what I did...

The log says:
Code:
client denied by server configuration: /var/www/roundcube/
Reply With Quote
Sponsored Links
  #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
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix delivery problem erebus Installation/Configuration 8 29th July 2014 20:17
www redirect for alias domains? untor Installation/Configuration 1 25th January 2013 15:33
New feature request: Frame redirect funtion for ISPConfig3 Hans Feature Requests 1 12th January 2011 00:43
Alias domain 301 redirect tio289 Tips/Tricks/Mods 2 16th July 2010 07:25
post fix error after a year aberrio Server Operation 5 5th May 2009 21:33


All times are GMT +2. The time now is 13:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.