Enabling SSI

Brian Densmore DensmoreB at ctbsonline.com
Wed Apr 17 19:29:41 CDT 2002


apachectl restart

> -----Original Message-----
> From: Seth Dimbert [mailto:s.dimbert at fhmr.com]
> Sent: Wednesday, April 17, 2002 2:17 PM
> To: mark at transparentsolutions.com; kclug at kclug.org
> Subject: RE: Enabling SSI
> 
> 
> Regarding restarting Apache...
> 
> ::embarrassed grin::
> 
> I've never been really clear about how you do that.
> 
> I tried "./httpd restart" and got a "bad command."
> 
> When I just enter "hhtpd" I get a blank prompt - which I 
> assumed meant that it worked.
> 
> In short, no, I don't think I restarted Apache. How do I do that?
> 
> -SD
> 
> -----Original Message-----
> From: owner-kclug at marauder.illiana.net
> [mailto:owner-kclug at marauder.illiana.net]On Behalf Of Mark Short
> Sent: Wednesday, April 17, 2002 2:03 PM
> To: kclug at kclug.org
> Subject: RE: Enabling SSI
> 
> 
> Yep, that is what it means.
> You did restart Apache after changing your options, right?
> You might want to try this in html folder instead of cgi-bin 
> folder though.
> If SSI is working and your SSI code is bad, you will get an 
> error, if it includes it that means that it isn't enabled for 
> some reason.
> 
> -----Original Message-----
> From: owner-kclug at marauder.illiana.net
> [mailto:owner-kclug at marauder.illiana.net]On Behalf Of Seth Dimbert
> Sent: Wednesday, April 17, 2002 1:46 PM
> To: kclug at kclug.org
> Subject: RE: Enabling SSI
> 
> 
> Joe, your code didn't work either. :( But, again, I can see 
> the include statement in the doc source. Does that indicate 
> that the server is not parsing?
> 
> -SD
> -----Original Message-----
> From: Joe Brouhard, MCP [mailto:jbrouhard at centurytel.net]
> Sent: Wednesday, April 17, 2002 1:34 PM
> To: s.dimbert at fhmr.com
> Cc: kclug at kclug.org
> Subject: RE: Enabling SSI
> 
> 
> 
> > Nontheless, my .shtml page isn't showing the results of the command,
> > 
> > <!--#include virtual="/var/www/cgi-bin/news/news.txt" -->
> > 
> 
> Having worked with SSI's, loks like your line up there is incorrect.
> 
> You trying to get.. Say.. Index.shtml to run from /var/www/htdocs/ ?
> 
> If so, the virtual include should look something like this:
> 
> <!--#include virtual="cgi-bin/news/news.txt" -->
> 
> Reason why is because Apache doesn't recognize the /var/www 
> directory from the web interface, but in PHP it does.  CGI 
> and SHTML don't work in that vasion, at least that's the way 
> I was looking at it.. Someone correct me if I'm wrong
> 
> Try the command I put up, and see if it works... It ought to, 
> since it worked for me before :)
> 
> Hope this helps, man..
> 
> Joe Brouhard
> Web Designer - Used CGI, now migrating to PHP :-)
> jbrouhard at centurytel.net
> 
> 
> 
> 
> 
> majordomo at kclug.org
> 
> 
> 
> majordomo at kclug.org
> 
> 
> 
> 
> majordomo at kclug.org
> 




More information about the Kclug mailing list