Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me

Enabling SSI's in Apache
(1 viewing) (1) Guest
All your queries regarding
Apache Installation,
Creating Virtual Domains Under Apache
and tonnes more... will be solved in this forum
  • Page:
  • 1
TOPIC:

Enabling SSI's in Apache

Enabling SSI's in Apache 1 year, 3 months ago #535

  • isaac
  • OFFLINE
  • Senior Boarder
  • Posts: 64
  • Karma: 0
How do we enable SSI's in Apache?

Re: Enabling SSI's in Apache 1 year, 2 months ago #539

  • palak
  • OFFLINE
  • Senior Boarder
  • Posts: 55
  • Karma: 0
To enable SSI processing, you need to

1. Build your server with the mod_include module. This is normally compiled in by default.
2. Make sure your server configuration files have an Options directive which permits Includes.
3. 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.
  • Page:
  • 1
Time to create page: 3.15 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download