httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gyurasits Zoltán <...@gyor.net>
Subject [users@httpd] apache virtual host for subdomain
Date Tue, 10 Oct 2006 07:33:00 GMT
Hi!

I have a problem with apache config....

I would like to configure the virtual host like this:


www.domain1.com -> /www/domain1/

and 

www.subdomain1.domain1.com -> /www/domain1/index.php?page=dom1
www.subdomain2.domain1.com -> /www/domain1/index.php?page=dom2
.
.
.


<VirtualHost 212.92.23.109:80>
    DocumentRoot /www/domain1
    ServerName www.domain1.com 
</VirtualHost>

<VirtualHost 212.92.23.109:80>
    DocumentRoot /www/domain1
    ServerName www.subdomain1.domain1.com
    ??? 
</VirtualHost>

Can anyone help me?

Best regards!
Zoltán Gyurasits


Mime
View raw message