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