]> git.pld-linux.org Git - packages/apache1.git/blame - apache1-mod_alias.conf
- configdir support
[packages/apache1.git] / apache1-mod_alias.conf
CommitLineData
c6d435c1
ER
1# $Id$
2LoadModule alias_module modules/mod_alias.so
3
4<IfModule mod_alias.c>
5# Aliases: Add here as many aliases as you need (with no limit). The format is
6# Alias fakename realname
7#
8# Note that if you include a trailing / on fakename then the server will
9# require it to be present in the URL. So "/icons" isn't aliased in this
10# example, only "/icons/"..
11#
12Alias /icons/ "/home/services/apache/icons/"
13
14<Directory "/home/services/apache/icons">
15 Options Indexes MultiViews
16 AllowOverride None
17 Order allow,deny
18 Allow from all
19</Directory>
20
21Alias /manual/ "/usr/share/apache1-manual/"
22<Directory "/usr/share/apache1-manual">
23 Options Indexes MultiViews
24 AllowOverride None
25 order deny,allow
26 deny from all
27 allow from 127.0.0.1
28</Directory>
29
30#
31# ScriptAlias: This controls which directories contain server scripts.
32# ScriptAliases are essentially the same as Aliases, except that
33# documents in the realname directory are treated as applications and
34# run by the server when requested rather than as documents sent to the client.
35# The same rules about trailing "/" apply to ScriptAlias directives as to
36# Alias.
37#
38ScriptAlias /cgi-bin/ "/home/services/apache/cgi-bin/"
39
40#
41# "/home/services/apache/cgi-bin" should be changed to whatever your
42# ScriptAliased CGI directory exists, if you have that configured.
43#
44<Directory "/home/services/apache/cgi-bin">
45 AllowOverride None
46 Options None
47 Order allow,deny
48 Allow from all
49</Directory>
50
51# Redirect allows you to tell clients about documents which used to exist in
52# your server's namespace, but do not anymore. This allows you to tell the
53# clients where to look for the relocated document.
54# Format: Redirect old-URI new-URL
55</IfModule>
56
57# vim: filetype=apache ts=4 sw=4 et
This page took 0.049218 seconds and 4 git commands to generate.