Gerald,

The following problem may or may not be related to the other stuff which
we are looking at. But I have been able to reproduce it in a minimal
case. Consider the following setup:

/base.html

        [- Execute ('security.html') -]

/security.html
        
        Security

/foo/security.html

        foo/Security
        <P>
        [- Execute ('../security.html') -]

/foo/bar/

There is no security.html in /foo/bar/. If you load the root, /, you
get:
        
        Security

If you load /foo/, you get:

        foo/Security
        
        Security

This is ok. But now if you load up /foo/bar/, you get the following:

        foo/Security
        
        foo/Security
        
        Security

In other words, /foo/security.html is being executed twice for some
reason. I believe this is the minimal case for the problem, though in my
larger website it took me a while to nail it down.

Is this expected behavior? It is non-intuitive to me. It appears that
somehow the cache is getting confused because the request is for
/foo/bar/, where there is no security.html. So, Embperl goes up to the
parent directory and finds an instance of security.html there. But then,
when executing ../security.html it is somehow seeing itself again and
being repeated. Yet, this only happens once, it is not an infinite
recursion... very strange.

Any ideas most welcome.

TIA

-Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to