]> granicus.if.org Git - apache/blob - config.layout
Sync
[apache] / config.layout
1 ##
2 ##  config.layout -- Pre-defined Installation Path Layouts
3 ##
4 ##  Hints:
5 ##  - layouts can be loaded with configure's --enable-layout=ID option
6 ##  - when no --enable-layout option is given, the default layout is `Apache'
7 ##  - a trailing plus character (`+') on paths is replaced with a 
8 ##    `/<target>' suffix where <target> is currently hardcoded to 'apache2'.
9 ##    (This may become a configurable parameter at some point.)
10 ##
11
12 #   Classical Apache path layout.
13 <Layout Apache>
14     prefix:        /usr/local/apache2
15     exec_prefix:   ${prefix}
16     bindir:        ${exec_prefix}/bin
17     sbindir:       ${exec_prefix}/bin
18     libdir:        ${exec_prefix}/lib
19     libexecdir:    ${exec_prefix}/modules
20     mandir:        ${prefix}/man
21     sysconfdir:    ${prefix}/conf
22     datadir:       ${prefix}
23     installbuilddir: ${datadir}/build
24     errordir:      ${datadir}/error
25     iconsdir:      ${datadir}/icons
26     htdocsdir:     ${datadir}/htdocs
27     manualdir:     ${datadir}/manual
28     cgidir:        ${datadir}/cgi-bin
29     includedir:    ${prefix}/include
30     localstatedir: ${prefix}
31     runtimedir:    ${localstatedir}/logs
32     logfiledir:    ${localstatedir}/logs
33     proxycachedir: ${localstatedir}/proxy
34 </Layout>
35
36 #   GNU standards conforming path layout.
37 #   See FSF's GNU project `make-stds' document for details.
38 <Layout GNU>
39     prefix:        /usr/local
40     exec_prefix:   ${prefix}
41     bindir:        ${exec_prefix}/bin
42     sbindir:       ${exec_prefix}/sbin
43     libdir:        ${exec_prefix}/lib
44     libexecdir:    ${exec_prefix}/libexec
45     mandir:        ${prefix}/man
46     sysconfdir:    ${prefix}/etc+
47     datadir:       ${prefix}/share+
48     installbuilddir: ${datadir}/build
49     errordir:      ${datadir}/error
50     iconsdir:      ${datadir}/icons
51     htdocsdir:     ${datadir}/htdocs
52     manualdir:     ${datadir}/manual
53     cgidir:        ${datadir}/cgi-bin
54     includedir:    ${prefix}/include+
55     localstatedir: ${prefix}/var+
56     runtimedir:    ${localstatedir}/run
57     logfiledir:    ${localstatedir}/log
58     proxycachedir: ${localstatedir}/proxy
59 </Layout>
60
61 #   Mac OS X Server (Rhapsody)
62 <Layout Mac OS X Server>
63     prefix:        /Local/Library/WebServer
64     exec_prefix:   /usr
65     bindir:        ${exec_prefix}/bin
66     sbindir:       ${exec_prefix}/sbin
67     libdir:        ${exec_prefix}/lib
68     libexecdir:    /System/Library/Apache/Modules
69     mandir:        ${exec_prefix}/share/man
70     sysconfdir:    ${prefix}/Configuration
71     datadir:       ${prefix}
72     installbuilddir: /System/Library/Apache/Build
73     errordir:      /System/Library/Apache/Error
74     iconsdir:      /System/Library/Apache/Icons
75     manualdir:     /System/Library/Apache/Manual
76     htdocsdir:     ${datadir}/Documents
77     cgidir:        ${datadir}/CGI-Executables
78     includedir:    /System/Library/Frameworks/Apache.framework/Versions/2.0/Headers
79     localstatedir: /var
80     runtimedir:    ${prefix}/Logs
81     logfiledir:    ${prefix}/Logs
82     proxycachedir: ${prefix}/ProxyCache
83 </Layout>
84
85 #   Darwin/Mac OS Layout
86 <Layout Darwin>
87     prefix:        /usr
88     exec_prefix:   ${prefix}
89     bindir:        ${exec_prefix}/bin
90     sbindir:       ${exec_prefix}/sbin
91     libdir:        ${exec_prefix}/lib
92     libexecdir:    ${exec_prefix}/libexec+
93     mandir:        ${prefix}/share/man
94     datadir:       /Library/WebServer
95     sysconfdir:    /etc+
96     installbuilddir: ${prefix}/share/httpd/build
97     errordir:      ${prefix}/share/httpd/error
98     iconsdir:      ${prefix}/share/httpd/icons
99     htdocsdir:     ${datadir}/Documents
100     manualdir:     ${datadir}/share/httpd/manual
101     cgidir:        ${datadir}/CGI-Executables
102     includedir:    ${prefix}/include+
103     localstatedir: /var
104     runtimedir:    ${localstatedir}/run
105     logfiledir:    ${localstatedir}/log+
106     proxycachedir: ${runtimedir}/proxy
107 </Layout>
108
109 #   Red Hat Linux 7.x layout
110 <Layout RedHat>
111     prefix:        /usr
112     exec_prefix:   ${prefix}
113     bindir:        ${prefix}/bin
114     sbindir:       ${prefix}/sbin
115     libdir:        ${prefix}/lib
116     libexecdir:    ${prefix}/lib/apache
117     mandir:        ${prefix}/man
118     sysconfdir:    /etc/httpd/conf
119     datadir:       /var/www
120     installbuilddir: ${datadir}/build
121     errordir:      ${datadir}/error
122     iconsdir:      ${datadir}/icons
123     htdocsdir:     ${datadir}/html
124     manualdir:     ${datadir}/manual
125     cgidir:        ${datadir}/cgi-bin
126     includedir:    ${prefix}/include/apache
127     localstatedir: /var
128     runtimedir:    ${localstatedir}/run
129     logfiledir:    ${localstatedir}/log/httpd
130     proxycachedir: ${localstatedir}/cache/httpd
131 </Layout>     
132
133 #   According to the /opt filesystem conventions
134 <Layout opt>
135     prefix:        /opt/apache
136     exec_prefix:   ${prefix}
137     bindir:        ${exec_prefix}/bin
138     sbindir:       ${exec_prefix}/sbin
139     libdir:        ${exec_prefix}/lib
140     libexecdir:    ${exec_prefix}/libexec
141     mandir:        ${prefix}/man
142     sysconfdir:    /etc${prefix}
143     datadir:       ${prefix}/share
144     installbuilddir: ${datadir}/build
145     errordir:      ${datadir}/error
146     iconsdir:      ${datadir}/icons
147     htdocsdir:     ${datadir}/htdocs
148     manualdir:     ${datadir}/manual
149     cgidir:        ${datadir}/cgi-bin
150     includedir:    ${prefix}/include
151     localstatedir: /var${prefix}
152     runtimedir:    ${localstatedir}/run
153     logfiledir:    ${localstatedir}/logs
154     proxycachedir: ${localstatedir}/proxy
155 </Layout>
156
157 #   SuSE 6.x layout
158 <Layout SuSE>
159     prefix:        /usr
160     exec_prefix:   ${prefix}
161     bindir:        ${prefix}/bin
162     sbindir:       ${prefix}/sbin
163     libdir:        ${prefix}/lib
164     libexecdir:    ${prefix}/lib/apache
165     mandir:        ${prefix}/share/man
166     sysconfdir:    /etc/httpd
167     datadir:       /usr/local/httpd
168     installbuilddir: ${datadir}/build
169     errordir:      ${datadir}/error
170     iconsdir:      ${datadir}/icons
171     htdocsdir:     ${datadir}/htdocs
172     manualdir:     ${datadir}/manual
173     cgidir:        ${datadir}/cgi-bin
174     includedir:    ${prefix}/include/apache
175     localstatedir: /var/lib/httpd
176     runtimedir:    /var/run
177     logfiledir:    /var/log/httpd
178     proxycachedir: /var/cache/httpd
179 </Layout>
180
181 #   BSD/OS layout
182 <Layout BSDI>
183     prefix:        /var/www
184     exec_prefix:   /usr/contrib
185     bindir:        ${exec_prefix}/bin
186     sbindir:       ${exec_prefix}/bin
187     libdir:        ${exec_prefix}/lib
188     libexecdir:    ${exec_prefix}/libexec/apache
189     mandir:        ${exec_prefix}/man
190     sysconfdir:    ${prefix}/conf
191     datadir:       ${prefix}
192     installbuilddir: ${datadir}/build
193     errordir:      ${datadir}/error
194     iconsdir:      ${datadir}/icons
195     htdocsdir:     ${datadir}/htdocs
196     manualdir:     ${datadir}/manual
197     cgidir:        ${datadir}/cgi-bin
198     includedir:    ${exec_prefix}/include/apache
199     localstatedir: /var
200     runtimedir:    ${localstatedir}/run
201     logfiledir:    ${localstatedir}/log/httpd
202     proxycachedir: ${localstatedir}/proxy
203 </Layout>
204
205 #   Solaris 8 Layout
206 <Layout Solaris>
207     prefix:        /usr/apache
208     exec_prefix:   ${prefix}
209     bindir:        ${exec_prefix}/bin
210     sbindir:       ${exec_prefix}/bin
211     libdir:        ${exec_prefix}/lib
212     libexecdir:    ${exec_prefix}/libexec
213     mandir:        ${exec_prefix}/man
214     sysconfdir:    /etc/apache
215     datadir:       /var/apache
216     installbuilddir: ${datadir}/build
217     errordir:      ${datadir}/error
218     iconsdir:      ${datadir}/icons
219     htdocsdir:     ${datadir}/htdocs
220     manualdir:     ${datadir}/manual
221     cgidir:        ${datadir}/cgi-bin
222     includedir:    ${exec_prefix}/include
223     localstatedir: ${prefix}
224     runtimedir:    /var/run
225     logfiledir:    ${datadir}/logs
226     proxycachedir: ${datadir}/proxy
227 </Layout>
228
229 #   OpenBSD Layout
230 <Layout OpenBSD>
231     prefix:        /var/www
232     exec_prefix:   /usr
233     bindir:        ${exec_prefix}/bin
234     sbindir:       ${exec_prefix}/sbin
235     libdir:        ${exec_prefix}/lib
236     libexecdir:    ${exec_prefix}/lib/apache/modules
237     mandir:        ${exec_prefix}/share/man
238     sysconfdir:    ${prefix}/conf
239     datadir:       ${prefix}
240     installbuilddir: ${prefix}/build
241     errordir:      ${prefix}/error
242     iconsdir:      ${prefix}/icons
243     htdocsdir:     ${prefix}/htdocs
244     manualdir:     ${datadir}/manual
245     cgidir:        ${prefix}/cgi-bin
246     includedir:    ${exec_prefix}/lib/apache/include
247     localstatedir: ${prefix}
248     runtimedir:    ${prefix}/logs
249     logfiledir:    ${prefix}/logs
250     proxycachedir: ${prefix}/proxy
251 </Layout>
252
253 # FreeBSD Layout
254 <Layout FreeBSD>
255   prefix:        /usr/local
256   exec_prefix:   ${prefix}
257   bindir:        ${exec_prefix}/bin
258   sbindir:       ${exec_prefix}/sbin
259   libdir:        ${exec_prefix}/lib
260   libexecdir:    ${exec_prefix}/libexec/apache2
261   mandir:        ${prefix}/man
262   sysconfdir:    ${prefix}/etc/apache2
263   datadir:       ${prefix}/www
264   installbuilddir: ${prefix}/share/apache2/build
265   errordir:      ${datadir}/error
266   iconsdir:      ${datadir}/icons
267   htdocsdir:     ${datadir}/data
268   manualdir:     ${prefix}/share/doc/apache2
269   cgidir:        ${datadir}/cgi-bin
270   includedir:    ${prefix}/include/apache2
271   localstatedir: /var
272   runtimedir:    ${localstatedir}/run
273   logfiledir:    ${localstatedir}/log
274   proxycachedir: ${datadir}/proxy
275 </Layout>
276
277 # Debian layout
278 <Layout Debian>
279     prefix:        
280     exec_prefix:   ${prefix}/usr
281     bindir:        ${exec_prefix}/bin
282     sbindir:       ${exec_prefix}/sbin
283     libdir:        ${exec_prefix}/lib
284     libexecdir:    ${exec_prefix}/lib/apache2/modules
285     mandir:        ${exec_prefix}/share/man
286     sysconfdir:    ${prefix}/etc/apache2
287     datadir:       ${exec_prefix}/share/apache2
288     iconsdir:      ${datadir}/icons
289     htdocsdir:     ${prefix}/usr/share/apache2/default-site/htdocs
290     manualdir:     ${htdocsdir}/manual
291     cgidir:        ${prefix}/usr/lib/cgi-bin
292     includedir:    ${exec_prefix}/include/apache2
293     localstatedir: ${prefix}/var/lock/apache2
294     runtimedir:    ${prefix}/var/run/apache2
295     logfiledir:    ${prefix}/var/log/apache2
296     proxycachedir: ${prefix}/var/cache/apache2/proxy
297     infodir:       ${exec_prefix}/share/info
298     installbuilddir: ${prefix}/usr/share/apache2/build
299     errordir:      ${datadir}/error
300 </Layout>
301
302 # Generic RPM layout
303 <Layout RPM>
304     prefix:        /usr
305     exec_prefix:   ${prefix}
306     bindir:        ${prefix}/bin
307     sbindir:       ${prefix}/sbin
308     libdir:        ${prefix}/lib
309     libexecdir:    ${libdir}/httpd/modules
310     mandir:        ${prefix}/share/man
311     sysconfdir:    /etc/httpd/conf
312     installbuilddir: ${libdir}/httpd/build
313     includedir:    ${prefix}/include/httpd
314     localstatedir: /var
315     datadir:       ${localstatedir}/www
316     errordir:      ${datadir}/error
317     iconsdir:      ${datadir}/icons
318     htdocsdir:     ${datadir}/html
319     manualdir:     ${datadir}/manual
320     cgidir:        ${datadir}/cgi-bin
321     runtimedir:    ${localstatedir}/run
322     logfiledir:    ${localstatedir}/log/httpd
323     proxycachedir: ${localstatedir}/cache/httpd/cache-root
324 </Layout>
325
326 # AIX layout
327 <Layout AIX>
328     prefix:        /opt/httpd
329     exec_prefix:   /opt/httpd
330     bindir:        ${exec_prefix}/bin
331     sbindir:       ${exec_prefix}/sbin
332     libdir:        ${exec_prefix}/lib
333     libexecdir:    ${exec_prefix}/libexec
334     mandir:        /usr/share/man
335     sysconfdir:    /etc/httpd
336     datadir:       /var/httpd
337     installbuilddir: ${datadir}/build
338     errordir:      ${datadir}/error
339     htdocsdir:     ${datadir}/htdocs
340     cgidir:        ${datadir}/cgi-bin
341     iconsdir:      ${prefix}/icons
342     manualdir:     ${prefix}/manual
343     includedir:    ${prefix}/include
344     localstatedir: /var/httpd
345     runtimedir:    ${localstatedir}/run
346     logfiledir:    ${localstatedir}/logs
347     proxycachedir: ${localstatedir}/proxy
348 </Layout>
349
350 # FHS layout
351 <Layout Slackware-FHS>
352     prefix:          /usr
353     exec_prefix:     ${prefix}
354     bindir:          ${prefix}/bin
355     sbindir:         ${prefix}/sbin
356     libdir:          ${prefix}/lib/httpd
357     libexecdir:      ${prefix}/lib/httpd/modules
358     installbuilddir: ${prefix}/lib/httpd/build
359     mandir:          ${prefix}/man
360     sysconfdir:      /etc/httpd
361     datadir:         /srv/httpd
362     iconsdir:        ${datadir}/icons
363     htdocsdir:       ${datadir}/htdocs
364     manualdir:       ${htdocsdir}/manual
365     cgidir:          ${datadir}/cgi-bin
366     errordir:        ${datadir}/error
367     includedir:      ${prefix}/include/httpd
368     localstatedir:   /var
369     runtimedir:      ${localstatedir}/run/httpd
370     logfiledir:      ${localstatedir}/log/httpd
371     proxycachedir:   ${localstatedir}/cache/httpd
372 </Layout>