-
Notifications
You must be signed in to change notification settings - Fork 1
/
httpd.conf
44 lines (35 loc) · 1.06 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
ServerRoot "/usr/local/apache2"
LoadModule alias_module modules/mod_alias.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule dir_module modules/mod_dir.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule mpm_event_module modules/mod_mpm_event.so
LoadModule unixd_module modules/mod_unixd.so
TypesConfig conf/mime.types
PidFile logs/httpd.pid
User daemon
Group daemon
Listen 80
ServerAdmin [email protected]
ServerName sitn.ne.ch
TraceEnable Off
ServerTokens Prod
ServerSignature Off
DocumentRoot "/usr/local/apache2/htdocs"
DirectoryIndex index.html
ErrorLog /dev/stderr
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog /dev/stdout common
<Directory />
AllowOverride None
Require all denied
</Directory>
Alias "/medecins" "/usr/local/apache2/htdocs"
<Directory "/usr/local/apache2/htdocs">
DirectoryIndex index.html
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>