Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Problems with SSI

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache 2 + PHP  
Author Message
awin

External


Since: Aug 03, 2003
Posts: 3



(Msg. 1) Posted: Sun Aug 03, 2003 5:50 pm
Post subject: Problems with SSI
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: Problems with SSI 
Back to top
Login to vote
nospam173

External


Since: Jul 02, 2003
Posts: 52



(Msg. 2) Posted: Sun Aug 03, 2003 5:50 pm
Post subject: Re: Problems with SSI [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Problems with WAMP Server - HI! I'm running a distribution of Apache on a Windows 2000 machine (Apache Version 1.3) PHP and MySql works perfect and I can also run scripts like guestbooks on the computer itself. But if I try to open scripts from a Windows XP Client Computer by..

Buffer Flush Problems in Apache2 for Linux - I have experienced buffer flushing problems with a C++ cgi-script. I place flush() statements at the end of every cout (print) command. Does apache2 have a switch somewhere to force buffer flushing? I thought the default in apache these days was to..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]