Gossamer Forum
Home : General : Internet Technologies :

Apache 1.3.26 Virtual Host

Quote Reply
Apache 1.3.26 Virtual Host
Hi everyone,

I just setup a mandrake 9 machine to work as e-mail and webserver.. I now have my website running as www.mydomain.org and my webmail at www.mydomain.org/webmail/

I would like to create a virtual host to serve my webmail as http://mail.mydomain.org, I tried several options in my Vhost.conf file, below I will give you my most recent version. The problem is that I see the exact same content when typing mail.mydomain.org or www.mydomain.org. I hope one of you has a suggestion to resolve this issue.

Alex

################# Vhosts.conf
#This is where we store the VirtualHosts configuration.
(.......)

#This is needed for Frontpage support
Port 80
ServerRoot /etc/httpd
ResourceConfig /dev/null
AccessConfig /dev/null

################# IP-based Virtual Hosts
#<VirtualHost 192.168.2.100>
#User jmdault
#Group jmdault
#DocumentRoot /home/jmdault/public_html
#ServerName test2.com
#Setenv VLOG /home/jmdault/logs
#ErrorLogs /home/jmdault/test2-error_log
#RewriteEngine On
#RewriteOptions inherit
#</VirtualHost>

################# Named VirtualHosts
#NameVirtualHost 111.222.33.44
#<VirtualHost 111.222.33.44>
#ServerName www.domain.tld
#ServerPath /domain
#DocumentRoot /web/domain
#</VirtualHost>

<VirtualHost *>
ServerName www.mydomain.org
ServerPath /var/www/html
DocumentRoot /var/www/html
</VirtualHost>

<VirtualHost *>
ServerName mail.mydomain.org
ServerPath /var/www/squirrelmail
DocumentRoot /var/www/squirrelmail
</VirtualHost>
Subject Author Views Date
Thread Apache 1.3.26 Virtual Host superyupkent 5883 Dec 6, 2002, 1:35 PM
Thread Re: [superyupkent] Apache 1.3.26 Virtual Host
Paul 5683 Dec 6, 2002, 2:45 PM
Thread Re: [Paul] Apache 1.3.26 Virtual Host
superyupkent 5641 Dec 6, 2002, 2:53 PM
Thread Re: [superyupkent] Apache 1.3.26 Virtual Host
ryel01 5654 Dec 9, 2002, 12:05 PM
Post Re: [ryel01] Apache 1.3.26 Virtual Host
superyupkent 5600 Dec 10, 2002, 2:39 AM
Post Re: [superyupkent] Apache 1.3.26 Virtual Host
matos23 5543 Dec 21, 2002, 6:04 AM
Post Re: [superyupkent] Apache 1.3.26 Virtual Host
SexyFlanders 5433 Jan 10, 2003, 12:47 PM
Post Re: [superyupkent] Apache 1.3.26 Virtual Host
opticus 5163 May 25, 2003, 9:06 AM