Skip to content

Instantly share code, notes, and snippets.

@charlesroper
Created July 11, 2014 01:30
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 charlesroper/22a4b11f51059c77888f to your computer and use it in GitHub Desktop.
Save charlesroper/22a4b11f51059c77888f to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName my.new.site
DocumentRoot /var/www/my.new.site/public_html
<Directory /var/www/my.new.site/public_html>
Options +FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
AuthType Basic
AuthName "Restricted"
AuthUserFile /home/charlesr/htpasswds
Require user charlesr
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment