It is currently Tue Feb 07, 2012 8:50 am

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: desperately need help with running SSI on apache
PostPosted: Wed Aug 17, 2005 5:49 pm 
Offline

Joined: Wed Aug 17, 2005 5:45 pm
Posts: 1
Hi,
ive been trying to run Server Side Includes on my apahce server for the past two weeks or so. i desperately need some help with it. i've read the SSI section in the apache manual, aswell as a few other tutorials and nothing seems to work.

here are the relevant lines in my httpd.conf:

LoadModule include_module modules/mod_include.so

<Directory />
Options Indexes FollowSymLinks Includes
AllowOverride All
</Directory>

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


i have a very simple file, index.shtml in my /htdocs dir. its contents:

<!--#echo var="DATE_LOCAL" -->

when i run "localhost/index.shtml" i get a blank page on my Ffox/IE.

i also tried running it in a subdir that has a .htaccess file in it containing:

AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes

didnt work. when i tried that last bit on a server of one of my websites it works fine and shows the date.

i would very much appreciateany any help here!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 08, 2005 7:03 pm 
Offline

Joined: Tue Aug 30, 2005 8:42 pm
Posts: 44
I've never used SSI, but what I would say, is are you using apache 1.3 or apache 2.

The steps you seem to have carried out are for Apache 1.3.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


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

Search for:
Jump to:  
cron