johnniewalker
09-30-2004, 02:58 PM
Dear all,
Got a problem after I installed Squirrelmail - used the default installation directory /var/www/html/webmail, and the vritual host config below:
<VirtualHost IPAddress:80>
ServerName hostname
ServerAlias mail.*
ServerAdmin postmaster@hostname
DocumentRoot /var/www/html/webmail
</VirtualHost>
Now, when I go to http://hostname/ every works great and I can logon to Squirrelmail. However, what I really want is to have http://hostname/webmail as the URL for squirrelmail, and then install my web page in the root. How can I do this? I've tried to adjust the above config but can't get it to work.
Appreciate this is not Qmail-specific, but I hope someone can provide a really quick answer!
Many thanks in advance,
John
Got a problem after I installed Squirrelmail - used the default installation directory /var/www/html/webmail, and the vritual host config below:
<VirtualHost IPAddress:80>
ServerName hostname
ServerAlias mail.*
ServerAdmin postmaster@hostname
DocumentRoot /var/www/html/webmail
</VirtualHost>
Now, when I go to http://hostname/ every works great and I can logon to Squirrelmail. However, what I really want is to have http://hostname/webmail as the URL for squirrelmail, and then install my web page in the root. How can I do this? I've tried to adjust the above config but can't get it to work.
Appreciate this is not Qmail-specific, but I hope someone can provide a really quick answer!
Many thanks in advance,
John