Skip to content

Instantly share code, notes, and snippets.

@sdepold
Created July 14, 2012 05:01
Show Gist options
  • Save sdepold/3109290 to your computer and use it in GitHub Desktop.
Save sdepold/3109290 to your computer and use it in GitHub Desktop.
NameVirtualHost *:80
<VirtualHost *:80>
ServerName busterrrrr.com
ServerAdmin [email protected]
ProxyRequests On
ProxyPreserveHost On
ProxyStatus On
<Location />
ProxyPass http://127.0.0.1:1111/
AuthType Basic
AuthName "Restricted Access"
AuthUserFile /etc/apache2/htpasswd
Require valid-user
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment