[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems with apache SSI



Hi,

I'm running unstable and I'm trying to get server side includes to work with apache. I remove apache and apache-common and then installed it again. So I have the latest httpd.conf. I see it has all the right stuff for server side includes in there as long as mod_include is loaded. So I ran:
   /usr/sbin/modules-config apache enable mod_include
and now mod_include is installed. I checked modules.conf and restarted apache.

To test SSI I created a very small html page that includes another page:
   <html>
   <head>
   <title>Some title</title>
   </head>
   <body>
   <h2>Some html code</h2>
   <!--#include file="page.shtml"-->
   </body>
   </html>

Unfortunately I don't see page.shtml being included. page.shtml exists in the same directory as this test.html file. I tried it both my public_html directory as wel as the document root (/var/www).

What am I doing wrong?

Like I said before I'm running unstable. apache is:
ii apache 1.3.29.0.1-5 Versatile, high-performance HTTP server

Thanks,
Lolke





Reply to: