-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhttpd.conf
44 lines (33 loc) · 959 Bytes
/
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
ServerRoot "/etc/httpd"
# Minimum modules needed
LoadModule mpm_event_module modules/mod_mpm_event.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule dir_module modules/mod_dir.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule unixd_module modules/mod_unixd.so
TypesConfig /etc/mime.types
PidFile /tmp/httpd.pid
# Port to Listen on
Listen *:8080
DocumentRoot "/var/www/isaac"
# Default file to serve
DirectoryIndex visualisation.html
# Errors go to their own log
ErrorLog /dev/stderr
# Access log
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog /dev/stdout common
# Never change this block
<Directory />
AllowOverride None
Require all denied
</Directory>
# Allow documents to be served from the DocumentRoot
<Directory "/var/www/isaac">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
User nobody
Group nobody