>
> Let me explain what does work, if I have index.html which lives in
> /wl/uk/ and it calls the file me.html which lives in /library/shared/
> then the contents of me.html gets loaded just fine.  If however I do a
> direct call to me.html I always get a 404 error.
>
> Is there any way of changing this behaviour - so if I request
> /wl/uk/me.html it actually executes /shared/library/me.html if it
> doesn't exist in /wl/uk/me.html ?.
>

In your base.epl instead of writing

Execute ('*') ;

write

$r = shift ;
Execute (basename($r -> param -> filename)) ;

The path is only searched if the filename that is passed to Execute does not
have a path inside

Gerald


---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der CeBIT (18. - 24. März 2004)
Halle 6 Stand B38-452

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


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

Reply via email to