FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > General Coding/Development
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 06-07-1999, 01:19 PM   Postid: 16892
LeafWind
Registered User

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: Feb 1999
Location: Kingston, Ontario, Canada
Posts: 268
Local Apache won't parse SSI's?

I got a local version of Apache running a couple weeks ago, then had to set it aside to deal with a few other projects.  
Now I'm wanting to test a local revision of my website before uploading it, specifically, this new revision relies much more heavily on SSI's.

The problem: it will not parse the ssi's when I open the local copies of the pages in my browser.  It just ignores the include directives as if they were comments.  I know my syntax is the same as I use on the FQ server.

In my httpd.conf file, the only lines that seem to apply to SSI's read as follows:

Code Sample:

#
# To use server-parsed HTML files
#
AddType text/html .shtml
AddHandler server-parsed .shtml




Uncommenting those lines is all I have done to try to make SSI's work, as nothing else seemed relevent. Is there anything else I need to do?  Checking my SSI's before I upload is at least half the reason I installed Apache locally.

Any ideas or assistance would be greatly appreciated.

Thanks,

Bekariso<!-- NO_AUTO_LINK -->
------------------
www.LeafWind.com
Growing web sites that thrive in the winds of change.
LeafWind is offline   Reply With Quote
Old 06-07-1999, 05:41 PM   Postid: 16893
 Terra
CTO FutureQuest, Inc.
 
Terra's Avatar
 
Join Date: Jun 1998
Location: Z'ha'dum
Posts: 7,683
In your primary <Directory> container, do you have the the following... e.g. is from FQuest configs (sorta)

<Directory &quot;/big/dom&quot;>
blah blah blah
Options Indexes Includes ExecCGI
blah blah blah
</Directory>

The key item is the 'Includes' one, as this will tell Apache that SSI is allowed at this directory and below...  It also turns on the parsing of .shtml files and enables the AddType/AddHandler directives...

--
Terra
--Knee deep in killer-coding--
FutureQuest
Terra is offline   Reply With Quote
Old 06-07-1999, 06:37 PM   Postid: 16894
LeafWind
Registered User

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: Feb 1999
Location: Kingston, Ontario, Canada
Posts: 268
Thanks Terra

I had figured out much the same thing myself from poking around in the depths of the apache.org site, but my puter crashed before I could get back and post that I had it working.

Thanks!

Bekariso
whose puter needs a new fan, maybe
------------------
www.LeafWind.com
Growing web sites that thrive in the winds of change.
LeafWind is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 03:29 AM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.