Skip to content

Instantly share code, notes, and snippets.

@chibani
Created March 18, 2013 15:06
Show Gist options
  • Save chibani/5187809 to your computer and use it in GitHub Desktop.
Save chibani/5187809 to your computer and use it in GitHub Desktop.
Exemple d'utilisation du mod_alias et des VirtualDocumentRoot pour configurer facilement une machine de dev
<VirtualHost *:80>
ServerName www.loicg.dev.com
ServerAlias *.*.dev.com
VirtualDocumentRoot /home/web/workspace/%2/%1
<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment