public
Created

Example apache2 conf

  • Download Gist
ci.example.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<VirtualHost *:80>
 
# Admin email, Server Name (domain name) and any aliases
ServerName ci.example.com
 
# Index file and Document Root (where the public files are located)
DocumentRoot /home/user/cijoe
<Directory /home/user/cijoe>
Options -MultiViews
AuthType Basic
AuthName "CI"
AuthUserFile /home/user/.htpasswd-private
Require valid-user
Satisfy any
Deny from all
</Directory>
 
</VirtualHost>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.