summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/config.layout
blob: 9e8c0c72337d597e9d6fc9f4995776c5548b1fe9 (plain)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
##
##  config.layout -- APACI Pre-defined Installation Path Layouts
##
##  Hints:
##  - layouts can be loaded with APACI's --with-layout=ID option
##  - when no --with-layout option is given, the default layout is `Apache'
##  - a trailing plus character (`+') on paths is replaced with a 
##    `/<target>' suffix where <target> is the the argument from 
##    option --target (defaults to `httpd').
##

#   Classical Apache path layout.
<Layout Apache>
    prefix:        /usr/local/apache
    exec_prefix:   $prefix
    bindir:        $exec_prefix/bin
    sbindir:       $exec_prefix/bin
    libexecdir:    $exec_prefix/libexec
    mandir:        $prefix/man
    sysconfdir:    $prefix/conf
    datadir:       $prefix
    iconsdir:      $datadir/icons
    htdocsdir:     $datadir/htdocs
    cgidir:        $datadir/cgi-bin
    includedir:    $prefix/include
    localstatedir: $prefix
    runtimedir:    $localstatedir/logs
    logfiledir:    $localstatedir/logs
    proxycachedir: $localstatedir/proxy
</Layout>

#   GNU standards conforming path layout.
#   See FSF's GNU project `make-stds' document for details.
<Layout GNU>
    prefix:        /usr/local
    exec_prefix:   $prefix
    bindir:        $exec_prefix/bin
    sbindir:       $exec_prefix/sbin
    libexecdir:    $exec_prefix/libexec
    mandir:        $prefix/man
    sysconfdir:    $prefix/etc+
    datadir:       $prefix/share+
    iconsdir:      $datadir/icons
    htdocsdir:     $datadir/htdocs
    cgidir:        $datadir/cgi-bin
    includedir:    $prefix/include+
    localstatedir: $prefix/var+
    runtimedir:    $localstatedir/run
    logfiledir:    $localstatedir/log
    proxycachedir: $localstatedir/proxy
</Layout>

#   Apache binary distribution path layout
<Layout BinaryDistribution>
    prefix:        /usr/local/apache
    exec_prefix:
    bindir:        bin
    sbindir:       bin
    libexecdir:    libexec
    mandir:        man
    sysconfdir:    conf
    datadir:
    iconsdir:      icons
    htdocsdir:     htdocs
    cgidir:        cgi-bin
    includedir:    include
    localstatedir:
    runtimedir:    logs
    logfiledir:    logs
    proxycachedir: proxy
</Layout>

#   Apple's Mac OS X Server Layout
<Layout Mac OS X Server>
    prefix:        /Local/Library/WebServer
    exec_prefix:   /usr/local
    bindir:        $exec_prefix/bin
    sbindir:       $exec_prefix/sbin
    libexecdir:    /Local/Library/Apache/Modules
    mandir:        $exec_prefix/share/man
    sysconfdir:    $prefix/Configuration
    datadir:       $prefix
    iconsdir:      /Local/Library/Apache/Icons
    htdocsdir:     $datadir/Documents
    cgidir:        $datadir/CGI-Executables
    includedir:    /Local/Library/Frameworks/Apache.framework/Versions/1.3/Headers
    localstatedir: /var
    runtimedir:    $prefix/Logs
    logfiledir:    $prefix/Logs
    proxycachedir: $prefix/ProxyCache
</Layout>

#   RedHat 5.x layout
<Layout RedHat>
    prefix:        /usr
    exec_prefix:   $prefix
    bindir:        $prefix/bin
    sbindir:       $prefix/sbin
    libexecdir:    $prefix/lib/apache
    mandir:        $prefix/man
    sysconfdir:    /etc/httpd/conf
    datadir:       /home/httpd
    iconsdir:      $datadir/icons
    htdocsdir:     $datadir/html
    cgidir:        $datadir/cgi-bin
    includedir:    $prefix/include/apache
    localstatedir: /var
    runtimedir:    $localstatedir/run
    logfiledir:    $localstatedir/log/httpd
    proxycachedir: $localstatedir/cache/httpd
</Layout>     

#   According to the /opt filesystem conventions
<Layout opt>
    prefix:        /opt/apache
    exec_prefix:   $prefix
    bindir:        $exec_prefix/bin
    sbindir:       $exec_prefix/sbin
    libexecdir:    $exec_prefix/libexec
    mandir:        $prefix/man
    sysconfdir:    /etc$prefix
    datadir:       $prefix/share
    iconsdir:      $datadir/icons
    htdocsdir:     $datadir/htdocs
    cgidir:        $datadir/cgi-bin
    includedir:    $prefix/include
    localstatedir: /var$prefix
    runtimedir:    $localstatedir/run
    logfiledir:    $localstatedir/logs
    proxycachedir: $localstatedir/proxy
</Layout>

#  BeOS layout...
<Layout beos>
    prefix:        /boot/home/apache
    exec_prefix:   $prefix
    bindir:        $exec_prefix/bin
    sbindir:       $exec_prefix/bin
    libexecdir:    $exec_prefix/libexec
    mandir:        $prefix/man
    sysconfdir:    $prefix/conf
    datadir:       $prefix
    iconsdir:      $datadir/icons
    htdocsdir:     $datadir/htdocs
    cgidir:        $datadir/cgi-bin
    includedir:    $prefix/include
    localstatedir: $prefix
    runtimedir:    $localstatedir/logs
    logfiledir:    $localstatedir/logs
    proxycachedir: $localstatedir/proxy
</Layout>

#   OpenBSD apache path layout.
<Layout OpenBSD>
    prefix:        /var/www
    exec_prefix:   /usr
    bindir:        /usr/bin
    sbindir:       /usr/sbin
    libexecdir:    /usr/lib/apache/modules
    mandir:        /usr/share/man
    sysconfdir:    /var/www/conf
    datadir:       /var/www
    iconsdir:      /var/www/icons
    htdocsdir:     /var/www/htdocs
    cgidir:        /var/www/cgi-bin
    includedir:    /usr/lib/apache/include
    localstatedir: /var/www
    runtimedir:    /var/www/logs
    logfiledir:    /var/www/logs
    proxycachedir: /var/www/proxy
</Layout>