File: apache-14.html

package info (click to toggle)
linuxconf 1.26r4-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 56,432 kB
  • ctags: 27,217
  • sloc: cpp: 158,803; perl: 7,484; sh: 4,134; java: 3,105; ansic: 2,492; makefile: 2,216; python: 109
file content (75 lines) | stat: -rw-r--r-- 2,285 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>Apache Web Server: Features</TITLE>
 <LINK HREF="apache-13.html" REL=previous>
 <LINK HREF="apache.html#toc14" REL=contents>
</HEAD>
<BODY>
Next
<A HREF="apache-13.html">Previous</A>
<A HREF="apache.html#toc14">Contents</A>
<HR>
<H2><A NAME="s14">14. Features</A></H2>

<P>This controls various features beyond simply returning the
contents of a file.  In most cases this is controlled by the
sub-directory specs instead.
<P>
<H2><A NAME="ss14.1">14.1 Server side includes</A>
</H2>

<P>If enabled, files with the extension .shtml are processed
to expand server side includes tags before the results are
returned to the client.
<P>
<H2><A NAME="ss14.2">14.2 IncludesNOEXEC</A>
</H2>

<P>Also enables server side includes, but the SSI tag
#exec and #include:ing CGI-scripts are disabled.
<P>
<H2><A NAME="ss14.3">14.3 May execute CGI</A>
</H2>

<P>Allow CGI scripts.  Usually only enabled in the sub-directory
spec for the CGI directory.
<P>
<H2><A NAME="ss14.4">14.4 Indexes</A>
</H2>

<P>When accessing an URL ending in a directory the file index.html in that
directory is returned.  If that file doesn't exist, and this option is
enabled, a directory listing is returned.  If this option is disabled, a
404 Not found is returned instead.
<P>
<H2><A NAME="ss14.5">14.5 May follow symlinks</A>
</H2>

<P>If an accessed directory or file is a symbolic link, the
access will only be allowed if this feature is enabled.
<P>
<H2><A NAME="ss14.6">14.6 Follow symlink if owner matches</A>
</H2>

<P>As above, but additionally, the owner of the symbolic link and
its target file must be the same.  This allows users to have
symbolic links to their own files, but not to sensitive system
files like /etc/passwd.
<P>
<H2><A NAME="ss14.7">14.7 Multiviews</A>
</H2>

<P>Multiviews allows the client browser and the Web server to negotiate the
format and language in which data should be returned. To make the Web
server capable of doing this, you can store the various languages and
data formats in files with certain extensions and then enable
multiviews.
<P>
<HR>
Next
<A HREF="apache-13.html">Previous</A>
<A HREF="apache.html#toc14">Contents</A>
</BODY>
</HTML>