QUOTE(Dr Z @ Sep 13 2006, 07:54 AM)

After I read your reply, I tried something stupid for the fun of it ...
I commented out :
AddHandler server-parsed .inc
I don't use that at all. Or is it required for virtual hosts (I don't use them either)?
QUOTE
If the main file extension is html or htm or shtml, who cares what the file extesion is for inclusions......
No I don't think you need to specify the included files' extensions (.inc etc), at least I haven't.
But there are some issues with running both SSI and PHP on the same parent file extension (say .html). Here's my very kludgy configuration:
Run PHP as default on .html extensions:
CODE
AddType application/x-httpd-php .phtml .php .html .htm
Thank you Pandy... I guess I must have been too tired last night and, threfore was in the state of confusion. Today after going over everything once more, it became relatively clear.
Yes, I do not nedd the inclusion files' extensions.
I intend was to use html extension for all files except php. In other words, if a html file needed to use "include", this would be implemented through SSI.
PHP files will need to have php extension, and the will be included as "AddType application".
Thanks again.
Then make exceptions for SSI in some sub directories, using the Location directive:
CODE
<Location /foo/ >
AddType text/html .shtml .html .htm
</Location>
Make SSI work in files with .asp extensions in any(?) directory with
CODE
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml .html .htm .asp
(not sure if that "AddType text/html .shtml" line is really necessary, but like I said it's a bit kludgy).