Skip to content

Instantly share code, notes, and snippets.

@spraveenitpro
Created December 19, 2013 06:31
Show Gist options
  • Save spraveenitpro/8035219 to your computer and use it in GitHub Desktop.
Save spraveenitpro/8035219 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName praveen.dev
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
DocumentRoot /home/praveen/Documents/Code
<Directory /home/praveen/Documents/Code/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Alias /wordpress /home/praveen/Documents/Code/wordpress/
<Directory /home/praveen/Documents/Code/wordpress>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment