You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by "John D. Leonard II" <jo...@ce.gatech.edu> on 2001/06/22 04:56:59 UTC
global.asa, applications and subdirectories
All:
How are multiple copies of .htaccess and global.asa handled? My question
relates to the use of FrontPage and Apache::ASP. (This is how I craft
pages, whether under IIS/ASP or Apache::ASP.
FYI - FrontPage creates "new webs" under the DocumentRoot. I would like
each of these subdirectories to have their own .htaccess, global.asa,
$Session and $Application spaces. No problem, expect my document root also
has it's own .htaccess and global.asa files.
How are conflicts between parent and subdirectories handled? Which
global.asa takes precedence? I believe that IIS keeps them separate.
What settings must I change to ensure that various "subwebs" (and their
global variables) don't conflict with each other, and the main web off
document root?
Thanks!
JL
------
John D. Leonard II, Associate Professor Phone: 404/894-2360
School of Civil and Environmental Engineering FAX: 404/894-2278
Georgia Institute of Technology http://traffic.ce.gatech.edu
Atlanta, GA 30332-0355 mailto:john.leonard@ce.gatech.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
Re: global.asa, applications and subdirectories
Posted by Joshua Chamas <jo...@chamas.com>.
"John D. Leonard II" wrote:
>
> All:
>
> How are multiple copies of .htaccess and global.asa handled? My question
> relates to the use of FrontPage and Apache::ASP. (This is how I craft
> pages, whether under IIS/ASP or Apache::ASP.
>
> FYI - FrontPage creates "new webs" under the DocumentRoot. I would like
> each of these subdirectories to have their own .htaccess, global.asa,
> $Session and $Application spaces. No problem, expect my document root also
> has it's own .htaccess and global.asa files.
>
.htaccess configs may be cumulative. You should experiment and see.
global.asa's definately are not. Only the Global directory is checked
which defaults to the current directory the ASP script is in.
> What settings must I change to ensure that various "subwebs" (and their
> global variables) don't conflict with each other, and the main web off
> document root?
Separate .htaccess file's won't conflict in directories at the
same level as each other. Don't set GlobalPackage to the same thing.
Also, if you want to create common templates shared across
all your sites, you can use IncludesDir
--Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks <- Web Link Checking Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org