Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to get SSI to work with Apache on NT

Status
Not open for further replies.

scopi

Programmer
Mar 18, 2004
3
CA
I am having a hell of a time trying to get Apache to start parsing .shtm pages for server-side includes. I have followed the instructions from at least five different Web sites on how to do this, and none of it seems to work. I am running Apache 1.3.12 (I think it's .12) on NT 4.0. I have edited the default httpd.conf file in the following ways:

ServerAdmin <changed to my e-mail address>
ServerName 127.0.0.1
<Directory />
Options FollowSymLinks Includes
AllowOverride None
</Directory>
<Directory &quot;C:/Program Files/Apache/htdocs&quot;>
Options Indexes FollowSymLinks MultiViews Includes
Order allow,deny
Allow from all
</Directory>
AddType text/html .shtm
AddHandler server-parsed .shtm


What am I missing here?
 
When you access a .shtm page with a web browser, what appears where the
<!--#include virtual=&quot;cgi-bin/script.cgi&quot; -->
is located in the document?

Are other PERL scripts running on the server?

 
The #include statement is still there when I view the source. I was able to get SSI enabled on another computer just fine (although that machine was running Windows 98), and that's why in particular this is so strange.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top