Perfect Debian w/ISPConfig 3 -- Apache Directives

Discussion in 'HOWTO-Related Questions' started by gdbaldw, Jul 7, 2009.

  1. gdbaldw

    gdbaldw New Member

    Hello All (and mostly Till),

    Thanks. Great stuff. Hope to rapidly climb the learning curve.

    After following exacly the tutorial, all is well including squirrelmail. Created web domain, web page, works great. Then, tried accessing squirrelmail (i.e. www.domain.com/webmail) and got 404 error. So, found a work around. Added this directive to the domain.

    Redirect /webmail http://server.com/webmail

    Ok, that works great too. But, would prefer to not redirect from domain.com to server.com

    The following directives would seem to work, and they do for squirrelmail. But, with these directives the webpage for http://www.domain.com seems to be disabled and instead points to www.server.com.

    Alias /webmail /www/var/webmail/
    <Directory /var/www/webmail/>
    AddType application/x-httpd-php .php
    </Directory>

    Funny, when I disable the virtual webpage through ISPConfig, www.domain.com/webmail works great again.

    So, I'm puzzeled as to why these Alias and Directory directives would disable my virtual webpage, and why I cannot easily have both www.domain.com and www.domain.com/webmail play nice together.

    Probably my ignorance regarding Apache and Directives, but thought I ask here dor some guidance.

    Thanks,
    Doug
     
  2. falko

    falko Super Moderator ISPConfig Developer

Share This Page