httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Dewhirst <Dewhirs...@UCLES.org.uk>
Subject RE: mod SSI
Date Tue, 05 Mar 2002 18:02:57 GMT
I've got it working now.

I simply added the +Includes and XBitHack options and directives to the
specific directory config (<Directory "/usr/local/www/data">), chmodded the
html file to be executable and restarted apache.

Just in case other people have this problem...

> -----Original Message-----
> From: Pete Nelson [mailto:pete.nelson@ci.stpaul.mn.us]
> Sent: 05 March 2002 17:53
> To: users@httpd.apache.org
> Subject: Re: mod SSI
> 
> 
> Did you activate a server handler for your SSI documents?  If not,
> apache won't know which files to parse.  Typically, you use a 
> directive
> like:
> 
> AddHandler server-parsed .shtml
> 
> This tells Apache to parse any file with a .shtml extention.  You
> usually also need to add a line like:
> 
> AddType text/html .shtml
> 
> So that the correct content-type is sent to the browser (otherwise it
> defaults to text/plain).
> 
> I hope that helps.
> 
> 
> --
> Pete Nelson, Web Developer
> <pete.nelson@ci.stpaul.mn.us>
> http://www.ci.stpaul.mn.us/
> 
> >>> Dewhirst.M@UCLES.org.uk 03/05/02 11:01AM >>>
> I am trying to get SSI working on my apache 1.3.22.
> 
> I have added Options +Includes to the default dir config in 
> httpd.conf,
> as
> per below:
> 
> <Directory />
>     Options FollowSymLinks
>     Options +Includes
>     AllowOverride All
> </Directory>
> 
> I have also added the "XBitHack on" line to httpd.conf (does this need
> to be
> in a specific place?).
> 
> I then changed my index.html to be executable ("chmod +x"), added a
> line
> that says "<!--#echo var="DATE_LOCAL" -->" ot it and restarted apache.
> 
> The date directive is not processed, the comment comes out unaffected
> in the
> html source.
> 
> Any suggestions what I might have done wrong?
> 
> Thanks in advance.
> 
> Mike
> 
> 
> 
> This message was written in plain text mode. 
> Everything below the dotted line was not 
> written by the author of this email. 
> ---------------------- 
> 
> 
> =**********************************************************
> 
> If you are not the intended recipient, employee or agent responsible
> for delivering the message to the intended recipient, you are hereby
> notified that any dissemination or copying of this 
> communication and its
> attachments is strictly prohibited.
> 
> If you have received this communication and its attachments in error,
> please return the original message and attachments to the sender using
> the reply facility on e-mail.
> 
> Internet communications are not secure and therefore the UCLES Group
> does not accept legal responsibility for the contents of this 
> message. 
> Any views or opinions presented are solely those of the author and do
> not necessarily represent those of the UCLES Group unless otherwise
> specifically stated.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses although 
> this does not
> guarantee that this email is virus free.
> 
> **********************************************************=
> 
> 
> 
> ***********************************************************
> 
> If you are not the intended recipient, employee or agent responsible
> for delivering the message to the intended recipient, you are hereby
> notified that any dissemination or copying of this 
> communication and its
> attachments is strictly prohibited.
> 
> If you have received this communication and its attachments in error,
> please return the original message and attachments to the sender using
> the reply facility on e-mail.
> Internet communications are not secure and therefore the UCLES Group
> does not accept legal responsibility for the contents of this 
> message. 
> Any views or opinions presented are solely those of the author and do
> not necessarily represent those of the UCLES Group unless otherwise
> specifically stated.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses although 
> this does not
> guarantee that this email is virus free.
> 
> ***********************************************************
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


=**********************************************************

If you are not the intended recipient, employee or agent responsible for delivering the message
to the intended recipient, you are hereby notified that any dissemination or copying of this
communication and its attachments is strictly prohibited.

If you have received this communication and its attachments in error, please return the original
message and attachments to the sender using the reply facility on e-mail.

Internet communications are not secure and therefore the UCLES Group does not accept legal
responsibility for the contents of this message.  Any views or opinions presented are solely
those of the author and do not necessarily represent those of the UCLES Group unless otherwise
specifically stated.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses although this does not guarantee that this
email is virus free.

**********************************************************=



***********************************************************

If you are not the intended recipient, employee or agent responsible for delivering the message
to the intended recipient, you are hereby notified that any dissemination or copying of this
communication and its attachments is strictly prohibited.

If you have received this communication and its attachments in error, please return the original
message and attachments to the sender using the reply facility on e-mail.
Internet communications are not secure and therefore the UCLES Group does not accept legal
responsibility for the contents of this message.  Any views or opinions presented are solely
those of the author and do not necessarily represent those of the UCLES Group unless otherwise
specifically stated.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses although this does not guarantee that this
email is virus free.

***********************************************************


Mime
View raw message