On Sun, 3 Aug 2003 14:50:23 +0200, "Andreas Winter" <awin.DeleteThis@wros.de>
wrote:
>Hello,
>
>I'm using apache2.0.43 and want to enable the SSI feature for my server.
>
>I've done the following as described but nothing has changed in the output
>and I see the SSI-Tag.
>
>What can I do??
>
>
>---- httpd.conf ----
>
>
>ServerName 127.0.0.1:80
>UseCanonicalName Off
>
>DocumentRoot "C:/webroot"
>
><Directory />
> Options All
> Options +INCLUDES # line added
> AllowOverride All
></Directory>
>
><Directory "C:/webroot">
> Options All
> AllowOverride All
> Order allow,deny
> Allow from all
> Options +INCLUDES # line added
></Directory>
>.
>.
>.
># To parse .shtml files for server-side includes (SSI):
># (You will also need to add "Includes" to the "Options" directive.)
>#
>AddOutputFilter INCLUDES .shtml # line uncommented
>.
>.
>.
>greets
>Andreas
>
Make sure that you've named the file correctly: filename.shtml [1]
Check and make sure mod_include is enabled in the LoadModule list (it
usually is by default). Check for a line in the httpd.conf like:
LoadModule include_module modules/mod_include.so [2]
For a subdirectory, in the httpd.conf you may need to add to the
directive SetOutputFilter within a Directory directive [3]; e.g.,
<Directory "C:/Apache2/htdocs/subdirectory">
SetOutputFilter INCLUDES
</Directory>
See also the Apache FAQ [5].
Check your error logs to see if there is any relevant details, too.
##########
Pertinent Documentation:
[1] <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/howto/ssi.html" target="_blank">http://httpd.apache.org/docs-2.0/howto/ssi.html</a>
[2] <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/mod_include.html" target="_blank">http://httpd.apache.org/docs-2.0/mod/mod_include.html</a>
[3] <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/core.html#setoutputfilter" target="_blank">http://httpd.apache.org/docs-2.0/mod/core.html#setoutputfilter</a>
[4] <a style='text-decoration: underline;' href="http://httpd.apache.org/docs/misc/FAQ.html#ssi-part-i" target="_blank">http://httpd.apache.org/docs/misc/FAQ.html#ssi-part-i</a>
##########
Related Bug Reports:
10489 <a style='text-decoration: underline;' href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10489" target="_blank">http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10489</a>
##########
Related References:
<a style='text-decoration: underline;' href="http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html" target="_blank">http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html</a>
<a style='text-decoration: underline;' href="http://www.apacheweek.com/features/ssi" target="_blank">http://www.apacheweek.com/features/ssi</a>
<a style='text-decoration: underline;' href="http://www.bignosebird.com/ssi.shtml" target="_blank">http://www.bignosebird.com/ssi.shtml</a>
<a style='text-decoration: underline;' href="http://www.carleton.ca/~dmcfet/html/ssi.html" target="_blank">http://www.carleton.ca/~dmcfet/html/ssi.html</a>
<a style='text-decoration: underline;' href="http://www.wdvl.com/Authoring/SSI/" target="_blank">http://www.wdvl.com/Authoring/SSI/</a>
HTH
TOG
--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.
"If you're not thoroughly confused by now, then you just
don't understand the situation."<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Problems with SSI