2016-10-09 16:47:49 +00:00
|
|
|
##
|
|
|
|
## Default Host for http://localhost
|
|
|
|
##
|
|
|
|
|
2016-10-10 08:16:09 +00:00
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
<VirtualHost _default_:80>
|
|
|
|
ServerName localhost
|
2017-05-06 13:50:48 +00:00
|
|
|
ServerAlias 127.0.0.1
|
|
|
|
ServerAlias 172.16.238.*
|
|
|
|
ServerAlias httpd
|
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
ServerAdmin root@localhost
|
|
|
|
|
2017-05-07 13:51:12 +00:00
|
|
|
ErrorLog /var/log/apache-2.4/devilbox-error.log
|
|
|
|
CustomLog /var/log/apache-2.4/devilbox-access.log combined
|
2016-10-09 16:47:49 +00:00
|
|
|
|
|
|
|
DirectoryIndex index.php index.html
|
|
|
|
|
|
|
|
DocumentRoot "/var/www/default/htdocs"
|
|
|
|
<Directory "/var/www/default/htdocs">
|
|
|
|
DirectoryIndex index.php index.html
|
|
|
|
|
|
|
|
AllowOverride All
|
|
|
|
Options All
|
|
|
|
|
|
|
|
RewriteEngine on
|
|
|
|
RewriteBase /
|
|
|
|
|
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
|
|
|
Require all granted
|
|
|
|
</Directory>
|
2017-05-16 14:59:21 +00:00
|
|
|
|
|
|
|
<Location /devilbox-httpd-status>
|
|
|
|
SetHandler server-status
|
|
|
|
|
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
|
|
|
Require all granted
|
|
|
|
</Location>
|
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
</VirtualHost>
|