On 18/02/2008, howard chen <[EMAIL PROTECTED]> wrote:
> I am running  Apache/2.2.6 on Windows XP, testing on a very simple
> include testes, e.g.
>
> SSI
> ===
>
> <!--#include virtual="modules/1.html" -->
> <!--#include virtual="modules/2.html" -->
> <!--#include virtual="modules/3.html" -->
> <!--#include virtual="modules/4.html" -->
> <!--#include virtual="modules/5.html" -->

These kinds of includes cause Apache to run an internal redirect for
each included file. This is just a guess but if your server has
AllowOverride set to something other than None and your DocumentRoot
is /deeply/buried then Apache must stat() for a large number of
.htaccess files. In this case, <number of includes> * <depth of
DocumentRoot>.

Php on the other hand just reads the files directly.

-- 
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to