| David Efflandt 2004-01-19, 6:32 am |
| On Sat, 06 Dec 2003 21:59:58 -0500, Frank Conte <fconte@rcn.com> wrote:quote:
> David Efflandt wrote:
>
>
> David
>
> Thanks for writing. I've included AddHandler and XBitHack, pretty much
> the syntax you've outlined above and still no dice. I'm getting tripped
> up httpd.conf obviously. Vetting 1000 lines of "rem" able directives
> seems to be confusing me. Can I just create a .htaccess file for a
> particular directory (I'm now sure if it should be /var/www/html or
> /etc/httpd/conf) I think that's where I'm at.
..htaccess is put in the web directory you want it to apply to (it will
also apply to subdirs of that dir), but AllowOverride for that dir or
nearest parent has to allow what you want to set in .htaccess.
quote:
> Since I come to this from Microsoft's Front Page I guess SSIs are
> similar to "web-bots" . In FP, web bots pull server side information
> like the time and display them within the html document you have called.
> I'm not sure of the role that .shtml plays in all this.
>
> If I have a file with SSI calls in it like test.html does the server
> create a test.shtml file and serve that to to the client browser.
You either need to name the file test.shtml (which would work with normal
644 permission) and access it as that. Or if you properly enabled
XBitHack On and left it as test.html, it would probably need 755
permission. Try following as test.shtml:
<html><head><title>SSI Test</title></head><body>
<h1>SSI Test</h1><hr><!--#echo var="DATE_LOCAL" -->
</body></html>
--
David Efflandt - All spam ignored http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
|