-
Notifications
You must be signed in to change notification settings - Fork 0
/
httpd.conf
64 lines (54 loc) · 1.75 KB
/
httpd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
ServerAdmin "root@localhost"
ServerName "devbox-apache"
Listen "${HTTPD_PORT}"
PidFile "${HTTPD_CONFDIR}/apache.pid"
LoadModule mpm_event_module modules/mod_mpm_event.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule mime_module modules/mod_mime.so
LoadModule headers_module modules/mod_headers.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule status_module modules/mod_status.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule log_config_module modules/mod_log_config.so
<IfModule unixd_module>
User daemon
Group daemon
</IfModule>
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "${HTTPD_CONFDIR}/../../"
<Directory "${HTTPD_CONFDIR}/../../">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Files ".ht*">
Require all denied
</Files>
ErrorLog "${HTTPD_ERROR_LOG_FILE}"
LogFormat "%h %l %u %t \"%r\" %>s %b" access
CustomLog "${HTTPD_ACCESS_LOG_FILE}" access
<IfModule headers_module>
RequestHeader unset Proxy early
</IfModule>
<VirtualHost "*:${HTTPD_PORT}">
ServerAdmin webmaster@localhost
ServerName php_localhost
UseCanonicalName Off
DocumentRoot "${HTTPD_CONFDIR}/../../"
<Directory "${HTTPD_CONFDIR}/../../">
Options All
AllowOverride All
<IfModule mod_authz_host.c>
Require all granted
</IfModule>
</Directory>
DirectoryIndex index.html
</VirtualHost>