New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

v-host on apache2

Got problems with your B2 or B3? Share and get helped!
Post Reply
fredrik
Posts: 12
Joined: 01 Jan 2009, 11:59

v-host on apache2

Post by fredrik »

Hi how do I get "pim" or horde to ansver on me

epost.mydomain.com
in stead of www.mydomain.com/pim
Xet
Posts: 53
Joined: 12 May 2008, 02:40

Post by Xet »

As root, create a config file that describes your virtual host. Put it, or create a symlink to it, in the folder /etc/apache2/sites-available. The file should look something like:

Code: Select all

<VirtualHost *:80>
        ServerName epost.mydomain.com
        DocumentRoot /usr/share/horde3
        ServerAdmin someone@mydomain.com
        ErrorLog /var/log/apache2/epost_error.log
        LogLevel warn
        CustomLog /var/log/apache2/epost.log combined
        ServerSignature On
</VirtualHost>
Restart apache and that should be it.

Code: Select all

/etc/init.d/apache2 restart
If you want to support https, simply add it to the same file.
Post Reply