Gentoo Archives: gentoo-server

From: Bertrand CHERRIER <chr@××××××××.org>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Apache SSI
Date: Wed, 05 Oct 2005 22:06:17
Message-Id: 43444DB0.9090901@linux-nc.org
In Reply to: Re: [gentoo-server] Apache SSI by "A. Khattri"
1 Hi,
2
3 I had the same problem after upgrading to the new scheme ...
4 in your httpd.conf , make sure you've this :
5 # Filters allow you to process content before it is sent to the client.
6 #
7 # To parse .shtml files for server-side includes (SSI):
8 # (You will also need to add "Includes" to the "Options" directive.)
9 #
10 AddType text/html .shtml
11 AddOutputFilter INCLUDES .shtml
12
13 (the last two lines must be uncommented)
14
15 @+
16
17 A. Khattri a écrit :
18
19 >On Wed, 5 Oct 2005, Luca Longinotti wrote:
20 >
21 >
22 >
23 >>A. Khattri wrote:
24 >>
25 >>
26 >>
27 >>>The include module is loaded, I have added handlers for .shtml files and
28 >>>enabled "Options +IncludeNOEXEC" but I can't get server-side includes to
29 >>>work. What am I doing wrong?
30 >>>
31 >>>
32 >>>
33 >>>
34 >>>
35 >>>
36 >>The correct line would be "Options +Includes" for SSI, "ExecCGI" is used
37 >>to permit the execution of CGI scripts inside a directory and/or server.
38 >>Best regards, CHTEKK aka. Luca Longinotti.
39 >>
40 >>
41 >
42 >I have "Options +Includes" inside a VirtHost config.
43 >
44 >I have the .shtml handler in the global config.
45 >
46 >Im see a LoadModule line for mod_include.
47 >
48 >This is on a server that was rebuilt yesterday - so Im using the all new
49 >Apache layout (which is quite different from the old setup).
50 >
51 >
52 >
53 >
54
55 --
56 Bertrand CHERRIER
57 chr@××××××××.org
58 Linux chr 2.6.13-gentoo-r2 #5 Mon Sep 26 08:10:41 NCT 2005 x86_64 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux
59 -----
60 Bow before me, for I am root
61
62 --
63 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] Apache SSI "A. Khattri" <ajai@××××.net>