You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by joel reed <jr...@ddiworld.com> on 2003/03/12 22:23:35 UTC

switch for dont read global.asa?

Hi Joshua & Others,

$Application->MapPath("./") returns a path on IIS, whereas
on Apache::ASP it returns path+default file

so, i'm wondering "how do i tell Apache::ASP to just
ignore global.asa? (instead of processing it)" could you say
if AllowApplicationState=0, we will not process global.asa
even if there is one?

i wish the MapPath thing could be fixed as well put i couldn't
find a method in RequestRec that gives just directory...

jr

-- 
------------------------------------------------------------
Joel W. Reed                                    412-257-3881
--------     http://home.attbi.com/~joelwreed/    ----------


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: switch for dont read global.asa?

Posted by Josh Chamas <jo...@chamas.com>.
joel reed wrote:
> Hi Joshua & Others,
> 
> $Application->MapPath("./") returns a path on IIS, whereas
> on Apache::ASP it returns path+default file
> 

The $Server->MapPath API relies on Apache->lookup_uri method,
and this is simply its behavior, and I do not know of a work around.

> so, i'm wondering "how do i tell Apache::ASP to just
> ignore global.asa? (instead of processing it)" could you say
> if AllowApplicationState=0, we will not process global.asa
> even if there is one?

No, you can try setting Global configuration to an empty directory,
so avoid global.asa from being compiled.  Under what conditions
do you need to avoid using the global.asa that comes with your application?

Regards,

Josh

________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org