sgi_apache & server side includes

From: rabi (r.palikonda_at_larc.nasa.gov)
Date: 07/14/03


Date: Mon, 14 Jul 2003 14:01:22 -0400


I am trying to enable server side includes and have tried to following
with no luck ( The documentation seems to indicate that the mod_include
is enabled by default):

The system is a octane running 6.5.16m and has the sgi_apache
sub-package (from sgi freeware web-site) installed.

sgi_apache 06/08/2003 SGI Web Server based on Apache, 1.3.27a

The /var/sgi_apache/httpd-outbox/etc/httpd.conf has the following
entries:

<Directory "/var/www/htdocs">

Options Indexes Includes FollowSymLinks MultiViews ExecCGI
Options +Includes

    AllowOverride None

    Order allow,deny
    Allow from all
</Directory>

<IfModule mod_mime.c>

< entries before and after the following lines not included here>

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

The main html page :
<HTML>

<!--#include virtual="/test/nav.shtml"-->

<td bgcolor=#FFFFFF valign="top" align="left" width=580 height=600> Main
page </td>
</TABLE>

</BODY>
</HTML>

The include nav.shtml

<head>
  <title> ICING Page</title>
              
  <table width="800" height="75" border="0" cellpadding="0"
cellspacing="0"
    background="/test/cloud_background.gif">
    <tr colspan=2>
      <td align="center" valign="center">
        <h1>
          <font color=#FFFFFF size="+1">
            ICING Page
          </font>
        </h1>
      </td>
    </tr>
  </table>

</head>
<BODY bgcolor="FFFFFF">
<table width="700" border="0" cellpadding="0" cellspacing="0">
  <tr>

<!--- left nav bar -->
    <td bgcolor=#6699aa valign="top" align="left" width=120 height=600>
         menu page
    </td>

No error message in the error.log file.

Any help is appreciated. Thanks in advance....

- Rabi



Relevant Pages

  • Re: Post-SP2: How to view SHTML file on hard drive with IE?
    ... A separate server may become a necessity. ... page is HTML and has the SHTML links. ... which lets IE load the SHTML - until the original ...
    (microsoft.public.windowsxp.general)
  • Re: why does this script not run?
    ... >> I understand that changing to SHTML from HTML is optional .. ... >> When I accesss the page with the HTML extension the exec line is ignored ... > server instead of using a file with a .shtml extension. ...
    (alt.html)
  • Re: link toolbar
    ... The only thing an HTML server does with a page is blindly copy it to the output stream being sent to the client. ... There isn't a means in HTML to tell the server to do something other than that because the server would never notice it. ... If you want such a marker to be noticed, you need something that isn't only an HTML server, like the ASP processor in IIS, an SSI or PHP processor, etc. ... Change the extension to .shtml and the SSI processor in IIS will kick in and do what you want without resorting to ASP. ...
    (alt.html)
  • Re: ENABLE
    ... ENABLE SERVER I mean if two users working on different PCs are ... accessing the same file for entering data is this possible please ... You don't appear to be using the system supplied Enable server ...
    (comp.sys.tandem)
  • Re: mozilla vs shtml
    ... > added something to those pages which mozilla can't handle? ... > I've always assumed that there wasn't really any difference between .html ... > and .shtml other than the way they were tranmitted. ... My guess would be that the problem lies at the server end. ...
    (comp.os.linux.misc)