🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #20904

Re: Apache Server Side Includes

#20904
From: Holger van Koll
Date: Sun, 29 Aug 1999 00:00
64 lines
2874 bytes
Marc Düffelmeyer wrote:
> 
> Hallo Leute,
> 
> Ich brauche dringend Hifestellung beim Einrichten der Server Side
> Includes !!! Kennt jemand eine vernünftige Anleitung die es mir
> erspart HTML perfekt zu beherrschen bzw. kann mich jemand darüber
> informieren, ob dies vielleicht zwingend notwendig ist ?! Die
> englischen HowTo`s und die SuSe Hilfe helfen mir nicht weiter !
> Ich fahre SuSe Linux 6.1 und Apache 1.3.3.
> 
> Für Hilfe bin ich dankbar ... Marc
aus der apache-doku (sollte auf deiner hd sein)

7.How do I enable SSI (parsed HTML)? 

      SSI (an acronym for Server-Side Include) directives allow static
HTML documents to be enhanced at run-time (e.g., when delivered to a
client by Apache). The
      format of SSI directives is covered in the mod_include manual;
suffice it to say that Apache supports not only SSI but xSSI (eXtended
SSI) directives. 

      Processing a document at run-time is called parsing it; hence the
term "parsed HTML" sometimes used for documents that contain SSI
instructions. Parsing tends to
      be extremely resource-consumptive, and is not enabled by default.
It can also interfere with the cachability of your documents, which can
put a further load on your
      server. (see the next question for more information about this.) 

      To enable SSI processing, you need to 

            Build your server with the mod_include module. This is
normally compiled in by default. 
            Make sure your server configuration files have an Options
directive which permits Includes. 
            Make sure that the directory where you want the SSI
documents to live is covered by the "server-parsed" content handler,
either explicitly or in some
            ancestral location. That can be done with the following
AddHandler directive: 

                  AddHandler server-parsed .shtml 

            This indicates that all files ending in ".shtml" in that
location (or its descendants) should be parsed. Note that using ".html"
will cause all normal HTML files to
            be parsed, which may put an inordinate load on your server. 

      For additional information, see the Apache Week article on Using
Server Side Includes.
Technical Details
Message-ID: <37C942F9.328843C2@vankoll.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <19990827.20195600@aurelius.konzept.pri>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f4b73,c46fec4eb1b36112
X-Google-Attributes: gidf4b73,public
From: Holger van Koll <holger@vankoll.de>
Subject: Re: Apache Server Side Includes
Date: 1999/08/29
Message-ID: <37C942F9.328843C2@vankoll.de>
X-Deja-AN: 518506178
Content-Transfer-Encoding: quoted-printable
References: <19990827.20195600@aurelius.konzept.pri>
X-Accept-Language: German, de, en
Content-Type: text/plain; charset=iso-8859-1
X-Trace: fu-berlin.de 935936346 1252 (none) 193.159.34.74
X-Access: 16 [7573]
Mime-Version: 1.0
Newsgroups: ch.comp.os.linux