Skip to content

Instantly share code, notes, and snippets.

@Waidoss
Forked from agragregra/httpd-vhost.conf
Last active April 1, 2016 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Waidoss/d2bcca9f7fb87526b403107744f429c2 to your computer and use it in GitHub Desktop.
Save Waidoss/d2bcca9f7fb87526b403107744f429c2 to your computer and use it in GitHub Desktop.
XAMPP httpd-vhost.conf
<VirtualHost *:80>
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/"
ServerName localhost
<Directory "/Applications/XAMPP/xamppfiles/htdocs/">
Options Indexes FollowSymLinks Includes execCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Applications/XAMPP/xamppfiles/docs/modx.loc/"
ServerName modx.loc
<Directory "/Applications/XAMPP/xamppfiles/docs/modx.loc/">
Options Indexes FollowSymLinks Includes execCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment