| Frank Conte 2004-01-19, 6:32 am |
| David Efflandt wrote:quote:
> On Sat, 06 Dec 2003 01:25:29 -0500, Frank Conte <fconte@rcn.com> wrote:
>
>
>
> What file extension for the html file [and what file extension(s) do you
> have defined for your AddHandler server-parsed]? What is the format of
> your SSI tags? If you call a script with #include virtual= or #exec cgi=
> it has to output proper Content-type header. #exec cmd= does not need
> headers, but is best avoided due to some cases where that is not trusted
> and may not work (since it could potentially run any command outside of
> webspace).
>
>
>
>
> It is customary to have:
> AddType text/html .shtml
> AddHandler server-parsed .shtml
>
> The AddHandler can have a space separated list of file extensions, but it
> is NOT a good idea to parse all .html files. Another option is to use
> XBitHack directive to parse specific .html files that have execute bit
> set.
>
> If "view source" in your browser shows your SSI tag, then SSI is NOT
> working. If SSI was working, you would either see the result of your SSI
> tag, or an error.
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.
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.
Sorry to sound confusing ...
thanx
Frank
quote:
>
|