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 * ...
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. ...
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 ...
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 ...