Thanks for the suggestion of using EMBPERL_OBJECT_ADDPATH. Unfortunately,
I've tried that and it doesn't work.

                DocumentRoot /usr/local/apache/htdocs/mybookprices
                DirectoryIndex index.html
                ErrorLog logs/error_log
                TransferLog logs/access_log
                EMBPERL_APPNAME mybookprices
                EMBPERL_SESSION_HANDLER_CLASS no 
                EMBPERL_DEBUG 0
                EMBPERL_ESCMODE 0
                EMBPERL_OPTIONS 16            
                EMBPERL_OBJECT_BASE base.epl
                EMBPERL_OBJECT_FALLBACK notfound.html              
                EMBPERL_OBJECT_STOPDIR /usr/local/apache/htdocs
                EMBPERL_OBJECT_ADDPATH /usr/local/apache/htdocs

It appears that EMBPERL_OBJECT_ADDPATH cannot add a path that is not within
DocumentRoot, even though base.epl AND notfound.html are outside
DocumentRoot. So, if Apache servers up both of these files which are outside
DocumentRoot, why won't it serve up content.hml with [-Execute ('*') -].
Also note, that [- Execute ('content.html') within base.epl WORKS!

So, this leads me to believe it is a problem with ('*') which is asking for
the file "indirectly" instead of explicitly.

Dean  

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 3:42 PM
To: '[EMAIL PROTECTED]'
Subject: Re: [ -Execute ( ' * ' ) -] Doesn't Work!


On Mon, Sep 30, 2002 at 01:28:31PM -0700, Powers, Dean wrote:
> I think you are on to something here. But it's interesting that base.epl
> isn't in the DocumentRoot either, but Embperl finds it in the directory
> above DocumentRoot.  
> 
> So, since I'm going to eventually have hundreds of sites (long story..), I
> want /htdocs to have a single base.epl and all the "boilerplates" for each
> of the subdirectory domains beneath it. Yes, I could put symlinks in each
> subdirectory to point to the boilerplate files in /htdocs but that means
> whenever I add new boilerplate files I have to go into each subdirectory
and
> add the symlinks. 

If you want common base files for a lot of things then have a look at
EMBPERL_OBJECT_ADDPATH

I usually have this directory within the document tree but I don't
think thats necessary (off the top of my head)

-- 
 Andrew O'Brien
 Senior Engineer                       email: [EMAIL PROTECTED]
 Switch Online Group Pty Limited       phone: +61 2 9299 1133
 ABN 89 092 286 327                    fax:   +61 2 9299 1134

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

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

Reply via email to