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!

apache server side includes help SSI

Status
Not open for further replies.

eclark

ISP
Mar 2, 2001
2
US
I am running apache 1.3.12 on linux slackware. Cgi scripts are working fine, but for the life of me, I cannot get ssi to work. Tried scripts that work fine, but when I try the exec tag, nothing. I have read through many forums and documents. Not matter what options or directives I try to configure in httpd.conf, it still does not work. Note I am only using the one httpd.conf file. I have uncommented the following:
AddHandler cgi-script .cgi

AddType text/html .shtml
AddHandler server-parsed .shtml

and the document root is set for Options Indexes
FollowSymLinks Includes.

I have tried many different combinations of options.

Any help would be great,thanks in advance.
 
I ran into the exact same problem trying to enable it on NT. Strangely, however, I later installed Apache on my 98 machine and SSI worked fine after configuration. I'm not sure what the problem is. Sorry I can't be of more help.
 
Did you compile Apache yourself? Maybe SSI support is not compiled into it (mod_include).
 
I have ssi working now. Hopefully some poor sole that is in the shoes I was in can learn something from this. Below is was my solution. Never under estimate the httpd.conf.



The <Directory> directive for /var/lib/apache/htdocs appeared twice in
httpd.conf, with the second one overriding the first.

In httpd.conf file, I made the following changes:

Line 379: Added &quot;/*&quot; to end of /var/lib/apache/htdocs
Line 388: Added Includes ExecCGI
Line 615: Commented-out line which had syntax error (reported by
httpd)

Kudos to Dave at domain-zone.com for his help.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top