]> git.pld-linux.org Git - packages/apache1.git/blob - apache1-mod_alias.conf
517b1f9cf31be1b219566d50440dff21dc642e59
[packages/apache1.git] / apache1-mod_alias.conf
1 # $Id$
2
3 <IfModule mod_alias.c>
4 # Aliases: Add here as many aliases as you need (with no limit). The format is
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 #
11 Alias /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
20 Alias /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 #
37 ScriptAlias /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>
This page took 0.101357 seconds and 2 git commands to generate.