Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-23-2004, 03:24 AM   #1
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
SSI and appache

How do you get SSI working on Apache

I am using something like this

<!--#include virtual="/footer.shtml" -->

and am accessing it from localhost but the include will not work

I am using Fedore Core 1 and the default Apache settings from the installation CD
Old 03-23-2004, 04:15 AM   #2
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
Are you getting any error messages? I have no idea what the default httpd.conf is with FC but you might need to enable parsing pages for SSI. You might need to add or uncomment these lines in httpd.conf:

AddType text/html .shtml
AddHandler server-parsed .shtml

And make sure that under the options for document root, you have includes enabled, something like this:

Options Indexes FollowSymLinks Includes


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading Appache nyumedic2000 Linux - Newbie 1 03-19-2005 04:15 PM
running appache webserver problems drebbin Linux - Newbie 1 01-02-2005 07:53 PM
Appache indexing NewtonIX Linux - Software 7 08-21-2004 09:46 PM
appache sever authentication najeeb Linux - General 1 09-21-2003 10:14 AM
appache servername illtbagu Linux - Software 8 02-26-2003 11:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration