[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] access_gating whole catalog?
On Tue, Oct 22, 2002 at 12:18:12AM -0400, Mike Heins wrote:
>
> Quoting Tim Stoakes (tim@ehost.com.au):
> > Hi all
> >
> > I've successfully used the .access and .access_gate system to protect a subdirectory of a catalog, no worries. Now I want to protect the whole catalog. ie:
> > http://www.domain.com/cgi-bin/teststore/*
> > must redirect to the violation page.
> > Ideally I would like this to work like .htaccess files do, and just put a single .access_gate file in catroot/pages containing
> > login.html: Yes
> > *: [if session logged_in]Yes[/if]
> > for starters.
> >
> > However, interchange fails to find the .access and .access_gate files
> > if I put them in catroot/pages. I think eg. that if you click
> > http://www.domain.com/cgi-bin/teststore/index.html ic is looking for
> > catroot/pages/index/.access_gate, which is wrong.
> >
> > Any help would be greatly appreciated. Am I doing something stupid/impossible?
>
> Impossible. IC doesn't do it in that directory, for a couple of reasons
> (performance and convenience).
An alternative might be a tag that redirects the shopper out UNLESS he
has a valid cookie/login. Do the login elsewhere. For example,
all logins might take place in /Register/ and shoppers without cookies
get redirected there otherwise.
>
> --
> Mike Heins
> Perusion -- Expert Interchange Consulting http://www.perusion.com/
> phone +1.513.523.7621 <mike@perusion.com>
>
> Fast, reliable, cheap. Pick two and we'll talk. -- unknown
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux