Server Side Includes for certain files

Server Side Includes for certain files

am 22.10.2009 20:21:43 von Teren Teh

Hi there,

I'm wondering if there's anyway possible to selective choose which files
to be processed for SSI? At the moment, all .shtml files are being
processed. However, not all of these are required to be processed and
for efficiency, I'd like to not process them. An option would be to
rename these files to .html but that would break my linking structure
and thus I would have to rename every reference of that file.

Would there be something that I can do to interject before Apache
processes the server side includes? Such as checking for certain
directories and if there are .shtml files in certain directories, then
serve the pages without processing them?

Thanks,
Teren

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Server Side Includes for certain files

am 23.10.2009 01:08:08 von Nick Kew

On 22 Oct 2009, at 19:21, Teren Teh wrote:

> Hi there,
>
> I'm wondering if there's anyway possible to selective choose which
> files to be processed for SSI?

Check the documentation on scoping your directives.
A or would be typical
ways to do it.

--
Nick Kew

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org