-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhttpd.conf
More file actions
74 lines (67 loc) · 2.18 KB
/
httpd.conf
File metadata and controls
74 lines (67 loc) · 2.18 KB
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
65
66
67
68
69
70
71
72
73
74
#
# Configuration file for running cern_httpd as a normal HTTP
# server under Docker
#
# See:
# <https://www.w3.org/Daemon/User/Config/Overview.html>
#
# for more information on configuration options.
#
# httpd.conf originally written by:
# Ari Luotonen April 1994 <luotonen@dxcern.cern.ch>
#
# Assembled for Docker by:
# Jesse Friedman December 2020 <jesse@jesse.ws>
#
#
#
# Set this to point to the directory where you unpacked this
# distribution, or wherever you want httpd to have its "home"
#
ServerRoot /srv/server_root
# Standalone mode; not inetd
ServerType StandAlone
#
# General setup; on some systems, like HP, nobody is defined so
# that setuid() fails; in those cases use a different user id.
#
UserId nobody
GroupId nogroup
#
# Logging; if you want logging uncomment these lines and specify
# locations for your access and error logs
#
# AccessLog /where/ever/httpd-log
# ErrorLog /where/ever/httpd-errors
LogFormat Common
LogTime LocalTime
#
# Disable reverse DNS lookup of request IPs
#
DNSLookup Off
#
# Override the default directory listing icons with .gif
#
AddBlankIcon /httpd-internal-icons/blank.gif
AddDirIcon /httpd-internal-icons/directory.gif DIR
AddParentIcon /httpd-internal-icons/back.gif UP
AddUnknownIcon /httpd-internal-icons/unknown.gif ???
AddIcon /httpd-internal-icons/unknown.gif ??? */*
AddIcon /httpd-internal-icons/binary.gif BIN binary
AddIcon /httpd-internal-icons/unknown.gif ??? www/unknown
AddIcon /httpd-internal-icons/text.gif TXT text/*
AddIcon /httpd-internal-icons/image.gif IMG image/*
AddIcon /httpd-internal-icons/movie.gif MOV video/*
AddIcon /httpd-internal-icons/sound.gif AU audio/*
AddIcon /httpd-internal-icons/compressed.gif CMP compress
AddIcon /httpd-internal-icons/compressed.gif GZP gzip
AddIcon /httpd-internal-icons/index.gif IDX application/x-gopher-index
AddIcon /httpd-internal-icons/index2.gif CSO application/x-gopher-cso
AddIcon /httpd-internal-icons/telnet.gif TEL application/x-gopher-telnet
AddIcon /httpd-internal-icons/unknown.gif DUP application/x-gopher-duplicate
AddIcon /httpd-internal-icons/unknown.gif TN application/x-gopher-tn3270
#
# URL translation rules
#
Pass /httpd-internal-icons/* /srv/server_root/icons/*
Pass /* /srv/www/*