1
vote
1answer
43 views

Password protect vhost virtual document root

I have the following setup for automatically generating subdomains/virtual document roots configured in /etc/apache2/apache2.conf (running on Debian 7.0) <VirtualHost *:80> ServerAlias * ...
0
votes
1answer
143 views

Multiple domains on same virtual hosts in Apache

I'm working on an applicationĀ for my clients that allows them to set up small landing pages for their campaigns. I have a set of templates and views for adding text, photos etc to the templates. ...
2
votes
0answers
129 views

Include virtual host for all subdomains

I'm using the below to set a client env variable which my system requires. SetEnvIf HOST "^(\w+).domain.com" CLIENT_ID=$1 UseCanonicalName Off VirtualDocumentRoot /home/user/clients/%-3/ I'm ...
1
vote
1answer
1k views

Apache vhost with and without 'www'?

With Mac OS X 10.6, I'm having some fun moving from the old way of hosting multiple sites (having a block of code in a .conf file for each virtual host) to a slightly less old way (telling the server ...