Apache Alias Gives 403 Error

Discussion in 'Installation/Configuration' started by TechAvenue, Aug 11, 2010.

  1. TechAvenue

    TechAvenue New Member

    Hey all, Im currently having an issue with Apache Alias directives.

    When inserting into website options the regular:

    Alias /webmail /var/www/mail
    <Directory /var/www/mail>
    Options Indexes FollowSymlinks MultiViews Includes
    Order allow,deny
    Allow from all

    Browsing to mydomain/webmail I get a 403 forbidden error.

    This is strange because I tested this a long time ago and it used to work, permissions for the /mail folder is 777 along with all files inside.

    I tested moving the /mail folder to /var/www/mydomain/web/ and changed the Alias accordingly and it works fine. Is it possible to store the alias target outside your web directory to get it to work?
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you check Apache's error log when you got the 403?
  3. TechAvenue

    TechAvenue New Member

    nothing is being logged as an error from the alias, I did a complete server rebuild for fun and its exactly the same

    Edit, not to worry, its a permissions problem ;)
    Last edited: Aug 12, 2010

Share This Page