Forum Moderators: phranque

Message Too Old, No Replies

need help enabling SSI

         

DigitalRain

6:29 pm on Jun 15, 2005 (gmt 0)

10+ Year Member



I downloaded and installed phpdev423 (the php, apache,
mysql, etc... bundle over at firepages.com.au) and I
just cannot seem to get SSI enabled.

I got as far as getting my browser to display .shtml
files correctly, but that's it.

Any ideas?

BTW -- I'm running Apache 1.3

Thanks!

DigitalRain

jdMorgan

11:11 pm on Jun 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



DigitalRain,

Welcome to WebmasterWorld!

Can you please be more specific about your problem? You state that you've got shtml files working, so it sounds like SSI is enabled. If you are having problems with PHP and SSI working together, then that's a different issue.

Jim

Angelot

10:34 am on Jun 16, 2005 (gmt 0)

10+ Year Member



See this howto:

[httpd.apache.org...]

You'll have to load the following modules in httpd.conf:
mod_include
mod_cgi
mod_expires

like:

LoadModule include_module /usr/lib/apache/1.3/mod_include.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
LoadModule mod_expires /usr/lib/apache/1.3/mod_expires.so

and perhaps this:

LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

Remember to restart apache after editing httpd.conf....

@ngelot

DigitalRain

2:58 pm on Jun 22, 2005 (gmt 0)

10+ Year Member



This is not for PHP includes. I checked to make sure I have the modules necessary, and it appears that I do. However, SSI is not working even though I can get the server to recognize .shtml.

Help!

bnhall

3:23 pm on Jun 22, 2005 (gmt 0)

10+ Year Member



You need to use an .htaccess file with the following lines:

Options +Includes
AddHandler server-parsed .shtml .html .htm

This ought to do it