tarsi210
New member
Squirrelmail runs by default under /var/www/htdocs/squirrelmail. There's a main redirect in httpd.conf to redirect any access of:
domain.com/squirrelmail
to that path.
I want to create a subdomain (already done) and have Apache redirect mail.domain.com to /var/www/htdocs/squirrelmail.
So, I have the subdomain. I have the manual change httpd.conf as a new VHost as such:
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName mail.domain.com
ServerAlias mail.domain.com
ServerAdmin [email protected]
DocumentRoot /var/www/htdocs/squirrelmail
UseCanonicalName OFF
</VirtualHost>
I get a 403 forbidden when I try to access it. I'm sure I'm missing something extremely simple, would like to hear what the best way to do this is. Thanks.
domain.com/squirrelmail
to that path.
I want to create a subdomain (already done) and have Apache redirect mail.domain.com to /var/www/htdocs/squirrelmail.
So, I have the subdomain. I have the manual change httpd.conf as a new VHost as such:
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName mail.domain.com
ServerAlias mail.domain.com
ServerAdmin [email protected]
DocumentRoot /var/www/htdocs/squirrelmail
UseCanonicalName OFF
</VirtualHost>
I get a 403 forbidden when I try to access it. I'm sure I'm missing something extremely simple, would like to hear what the best way to do this is. Thanks.