DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Multiple Sites On Apache Without Virtual Hosts
Being forced to work on a Windows based Apache, but came up with this nice way to access a bunch of multiple sites on the same Apache through one IP (no vhosts were allowed) with a URL trick:
AliasMatch ^/_(.+?)/(.*)?$ "d:/sites/$1/$2" <Directory "d:/sites/*"> Options Indexes AllowOverride All Order allow,deny Allow from all </Directory>




