ServerAdmin webmaster@localhost
ServerName monsite.com
ServerAlias www.monsite.com
DocumentRoot /var/www/monsite.com
Options -FollowSymLinks
AllowOverride AuthConfig
Order deny,allow
deny from all
allow from 192.168.0.0/24
Options -Indexes
Options -FollowSymLinks
Options -Includes
Options -ExecCGI
Options MultiViews
AllowOverride AuthConfig
AuthType Basic
AuthName "Ma zone est restreinte !"
AuthBasicProvider file
AuthUserFile /usr/local/apache/passwd/passwords
AuthGroupFile /usr/local/apache/passwd/groups
Require user web
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined