]> granicus.if.org Git - apache/blob - config.layout
Optimization: changed some apr_pstrndup calls to apr_pstrmemdup
[apache] / config.layout
1 ##
2 ##  config.layout -- Pre-defined Installation Path Layouts
3 ##
4 ##  Hints:
5 ##  - layouts can be loaded with configure's --with-layout=ID option
6 ##  - when no --with-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 the the argument from 
9 ##    option --target (defaults to `httpd').
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     libexecdir:    $exec_prefix/modules
19     mandir:        $prefix/man
20     sysconfdir:    $prefix/conf
21     datadir:       $prefix
22     installbuilddir: $datadir/build
23     errordir:      $datadir/error
24     iconsdir:      $datadir/icons
25     htdocsdir:     $datadir/htdocs
26     manualdir:     $datadir/manual
27     cgidir:        $datadir/cgi-bin
28     includedir:    $prefix/include
29     localstatedir: $prefix
30     runtimedir:    $localstatedir/logs
31     logfiledir:    $localstatedir/logs
32     proxycachedir: $localstatedir/proxy
33 </Layout>
34
35 #   GNU standards conforming path layout.
36 #   See FSF's GNU project `make-stds' document for details.
37 <Layout GNU>
38     prefix:        /usr/local
39     exec_prefix:   $prefix
40     bindir:        $exec_prefix/bin
41     sbindir:       $exec_prefix/sbin
42     libexecdir:    $exec_prefix/libexec
43     mandir:        $prefix/man
44     sysconfdir:    $prefix/etc+
45     datadir:       $prefix/share+
46     installbuilddir: $datadir/build
47     errordir:      $datadir/error
48     iconsdir:      $datadir/icons
49     htdocsdir:     $datadir/htdocs
50     manualdir:     $datadir/manual
51     cgidir:        $datadir/cgi-bin
52     includedir:    $prefix/include+
53     localstatedir: $prefix/var+
54     runtimedir:    $localstatedir/run
55     logfiledir:    $localstatedir/log
56     proxycachedir: $localstatedir/proxy
57 </Layout>
58
59 #   Apache binary distribution path layout
60 <Layout BinaryDistribution>
61     prefix:        /usr/local/apache
62     exec_prefix:
63     bindir:        bin
64     sbindir:       bin
65     libexecdir:    libexec
66     mandir:        man
67     sysconfdir:    conf
68     datadir:
69     installbuilddir: build
70     errordir:      error
71     iconsdir:      icons
72     htdocsdir:     htdocs
73     manualdir:     manual
74     cgidir:        cgi-bin
75     includedir:    include
76     localstatedir:
77     runtimedir:    logs
78     logfiledir:    logs
79     proxycachedir: proxy
80 </Layout>
81
82 #   Mac OS X Server (Rhapsody)
83 <Layout Mac OS X Server>
84     prefix:        /Local/Library/WebServer
85     exec_prefix:   /usr
86     bindir:        $exec_prefix/bin
87     sbindir:       $exec_prefix/sbin
88     libexecdir:    /System/Library/Apache/Modules
89     mandir:        $exec_prefix/share/man
90     sysconfdir:    $prefix/Configuration
91     datadir:       $prefix
92     installbuilddir: /System/Library/Apache/Build
93     errordir:      /System/Library/Apache/Error
94     iconsdir:      /System/Library/Apache/Icons
95     manualdir:     /System/Library/Apache/Manual
96     htdocsdir:     $datadir/Documents
97     cgidir:        $datadir/CGI-Executables
98     includedir:    /System/Library/Frameworks/Apache.framework/Versions/1.3/Headers
99     localstatedir: /var
100     runtimedir:    $prefix/Logs
101     logfiledir:    $prefix/Logs
102     proxycachedir: $prefix/ProxyCache
103 </Layout>
104
105 #   Darwin/Mac OS Layout
106 <Layout Darwin>
107     prefix:        /usr
108     exec_prefix:   $prefix
109     bindir:        $exec_prefix/bin
110     sbindir:       $exec_prefix/sbin
111     libexecdir:    $exec_prefix/libexec+
112     mandir:        $prefix/share/man
113     datadir:       /Library/WebServer
114     sysconfdir:    /etc+
115     installbuilddir: $prefix/share/httpd/build
116     errordir:      $prefix/share/httpd/error
117     iconsdir:      $prefix/share/httpd/icons
118     htdocsdir:     $datadir/Documents
119     manualdir:     $datadir/share/httpd/manual
120     cgidir:        $datadir/CGI-Executables
121     includedir:    $prefix/include+
122     localstatedir: /var
123     runtimedir:    $localstatedir/run
124     logfiledir:    $localstatedir/log+
125     proxycachedir: $runtimedir/proxy
126 </Layout>
127
128 #   RedHat 5.x layout
129 <Layout RedHat>
130     prefix:        /usr
131     exec_prefix:   $prefix
132     bindir:        $prefix/bin
133     sbindir:       $prefix/sbin
134     libexecdir:    $prefix/lib/apache
135     mandir:        $prefix/man
136     sysconfdir:    /etc/httpd/conf
137     datadir:       /home/httpd
138     installbuilddir: $datadir/build
139     errordir:      $datadir/error
140     iconsdir:      $datadir/icons
141     htdocsdir:     $datadir/html
142     manualdir:     $datadir/manual
143     cgidir:        $datadir/cgi-bin
144     includedir:    $prefix/include/apache
145     localstatedir: /var
146     runtimedir:    $localstatedir/run
147     logfiledir:    $localstatedir/log/httpd
148     proxycachedir: $localstatedir/cache/httpd
149 </Layout>     
150
151 #   According to the /opt filesystem conventions
152 <Layout opt>
153     prefix:        /opt/apache
154     exec_prefix:   $prefix
155     bindir:        $exec_prefix/bin
156     sbindir:       $exec_prefix/sbin
157     libexecdir:    $exec_prefix/libexec
158     mandir:        $prefix/man
159     sysconfdir:    /etc$prefix
160     datadir:       $prefix/share
161     installbuilddir: $datadir/build
162     errordir:      $datadir/error
163     iconsdir:      $datadir/icons
164     htdocsdir:     $datadir/htdocs
165     manualdir:     $datadir/manual
166     cgidir:        $datadir/cgi-bin
167     includedir:    $prefix/include
168     localstatedir: /var$prefix
169     runtimedir:    $localstatedir/run
170     logfiledir:    $localstatedir/logs
171     proxycachedir: $localstatedir/proxy
172 </Layout>
173
174 #  BeOS layout...
175 <Layout beos>
176     prefix:        /boot/home/apache
177     exec_prefix:   $prefix
178     bindir:        $exec_prefix/bin
179     sbindir:       $exec_prefix/bin
180     libexecdir:    $exec_prefix/libexec
181     mandir:        $prefix/man
182     sysconfdir:    $prefix/conf
183     datadir:       $prefix
184     installbuilddir: $datadir/build
185     errordir:      $datadir/error
186     iconsdir:      $datadir/icons
187     htdocsdir:     $datadir/htdocs
188     manualdir:     $datadir/manual
189     cgidir:        $datadir/cgi-bin
190     includedir:    $prefix/include
191     localstatedir: $prefix
192     runtimedir:    $localstatedir/logs
193     logfiledir:    $localstatedir/logs
194     proxycachedir: $localstatedir/proxy
195 </Layout>
196
197 #   SuSE 6.x layout
198 <Layout SuSE>
199     prefix:        /usr
200     exec_prefix:   $prefix
201     bindir:        $prefix/bin
202     sbindir:       $prefix/sbin
203     libexecdir:    $prefix/lib/apache
204     mandir:        $prefix/man
205     sysconfdir:    /etc/httpd
206     datadir:       /usr/local/httpd
207     installbuilddir: $datadir/build
208     errordir:      $datadir/error
209     iconsdir:      $datadir/icons
210     htdocsdir:     $datadir/htdocs
211     manualdir:     $datadir/manual
212     cgidir:        $datadir/cgi-bin
213     includedir:    $prefix/include/apache
214     localstatedir: /var
215     runtimedir:    $localstatedir/run
216     logfiledir:    $localstatedir/log/httpd
217     proxycachedir: $localstatedir/cache/httpd
218 </Layout>
219
220 #   BSD/OS layout
221 <Layout BSDI>
222     prefix:        /var/www
223     exec_prefix:   /usr/contrib
224     bindir:        $exec_prefix/bin
225     sbindir:       $exec_prefix/bin
226     libexecdir:    $exec_prefix/libexec/apache
227     mandir:        $exec_prefix/man
228     sysconfdir:    $prefix/conf
229     datadir:       $prefix
230     installbuilddir: $datadir/build
231     errordir:      $datadir/error
232     iconsdir:      $datadir/icons
233     htdocsdir:     $datadir/htdocs
234     manualdir:     $datadir/manual
235     cgidir:        $datadir/cgi-bin
236     includedir:    $exec_prefix/include/apache
237     localstatedir: /var
238     runtimedir:    $localstatedir/run
239     logfiledir:    $localstatedir/log/httpd
240     proxycachedir: $localstatedir/proxy
241 </Layout>
242
243 #   Solaris 8 Layout
244 <Layout Solaris>
245     prefix:        /usr/apache
246     exec_prefix:   $prefix
247     bindir:        $exec_prefix/bin
248     sbindir:       $exec_prefix/bin
249     libexecdir:    $exec_prefix/libexec
250     mandir:        $exec_prefix/man
251     sysconfdir:    /etc/apache
252     datadir:       /var/apache
253     installbuilddir: $datadir/build
254     errordir:      $datadir/error
255     iconsdir:      $datadir/icons
256     htdocsdir:     $datadir/htdocs
257     manualdir:     $datadir/manual
258     cgidir:        $datadir/cgi-bin
259     includedir:    $exec_prefix/include
260     localstatedir: $prefix
261     runtimedir:    /var/run
262     logfiledir:    $datadir/logs
263     proxycachedir: $datadir/proxy
264 </Layout>
265
266 #   OpenBSD Layout
267 <Layout OpenBSD>
268     prefix:        /var/www
269     exec_prefix:   /usr
270     bindir:        $exec_prefix/bin
271     sbindir:       $exec_prefix/sbin
272     libexecdir:    $exec_prefix/lib/apache/modules
273     mandir:        $exec_prefix/share/man
274     sysconfdir:    $prefix/conf
275     datadir:       $prefix
276     installbuilddir: $prefix/build
277     errordir:      $prefix/error
278     iconsdir:      $prefix/icons
279     htdocsdir:     $prefix/htdocs
280     manualdir:     $datadir/manual
281     cgidir:        $prefix/cgi-bin
282     includedir:    $exec_prefix/lib/apache/include
283     localstatedir: $prefix
284     runtimedir:    $prefix/logs
285     logfiledir:    $prefix/logs
286     proxycachedir: $prefix/proxy
287 </Layout>
288
289 # Debian layout
290 <Layout Debian>
291     prefix:        
292     exec_prefix:   $prefix/usr
293     bindir:        $exec_prefix/bin
294     sbindir:       $exec_prefix/sbin
295     libexecdir:    $exec_prefix/lib/apache2/modules
296     mandir:        $exec_prefix/share/man
297     sysconfdir:    $prefix/etc/apache2
298     datadir:       $exec_prefix/share/apache2
299     iconsdir:      $datadir/icons
300     htdocsdir:     $prefix/usr/share/apache2/default-site/htdocs
301     cgidir:        $prefix/usr/lib/cgi-bin
302     includedir:    $exec_prefix/include/apache2
303     localstatedir: $prefix/var/run
304     runtimedir:    $prefix/var/run
305     logfiledir:    $prefix/var/log/apache2
306     proxycachedir: $prefix/var/cache/apache2/proxy
307     infodir:       $exec_prefix/share/info
308     installbuilddir: $prefix/etc/apache2/build
309 </Layout>