Created
August 26, 2012 23:45
-
-
Save bangline/3484427 to your computer and use it in GitHub Desktop.
Example apache2 conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment