[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apache VH hackers



I've setup this in order to not to restart apache each time I enter a
new customer:

My problem is How To config that *.customer1.com points to
www.customer1.com ?
with:
ServerAlias %0 www.%0
I've no results.......

<VirtualHost 192.192.192.192>
        ServerName            customers.mydomain.com
        CustomLog             /var/customers/logs/access_customers.log
vcommon
        VirtualDocumentRoot   /var/customers/webs/%0
        VirtualScriptAlias    /var/customers/webs/%0/cgi-bin
</VirtualHost>

On /var/customers/webs/ I put each directory as www.customer1.com
www.customer2.com, etc.



thanks!


Reply to: