# get rid of the warning at apache2 startup
ServerName browser

<VirtualHost *:*>
	ServerAdmin webmaster@localhost

	DocumentRoot /usr/local/apache/htdocs
	<Directory />
		Options +FollowSymLinks +Includes +Indexes
		XBitHack on
		AllowOverride None
		# Apache 2.2
		<IfModule !mod_authz_host.c>
		    Allow from all
		    Order allow,deny
		</IfModule>
		# Apache 2.4
		<IfModule mod_authz_host.c>
		    Require all granted
		    SSILegacyExprParser on
		</IfModule>
	</Directory>

	ScriptAlias /cgi-bin /usr/local/apache/cgi-bin
	<Directory "/usr/local/apache/cgi-bin">
		XBitHack on
		AllowOverride None
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch +Includes +FollowSymLinks
		Order allow,deny
		Require all granted
		Allow from all
	</Directory>

	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
</VirtualHost>
