[ic] ALL pages secure after login

Tim Watts interchange-users@interchange.redhat.com
Wed Sep 19 15:53:00 2001


on 9/19/01 3:21 PM, Ed LaFrance at edl@newmediaems.com wrote:

> At 02:55 PM 09/19/2001 -0400, you wrote:
>> Mstrshnds@aol.com writes:
>> 
>>>> Does anyone know of a way to keep ALL pages secure after you have
>> logged in?
>> 
>> 
>> on 9/19/01 3:34 AM, Stefan Hornburg Racke at racke@linuxia.de wrote:
>> 
>>> In any directory below pages:
>>> .access => empty file
>>> .autoload =>
>>> [perl]
>>> if ($Session->{logged_in}) {
>>> $Config->{VendURL} = $Config->{SecureURL};
>>> }
>>> 1;
>>> [/perl]
>>> 
>>> This should work (a similar technique is used by the UI if you set
>> UI_SECURE
>>> to 1.).
>>> 
>>> Ciao
>>> Racke
>> 
>> 
>> Thanks, Racke! Seems like it should work, but I'm not sure where to put it,
>> where can I find this in UI so I can see how it is implemented?
> 
> I believe this means that you should create an empty (zero bytes) file in
> your pages directory named '.access'.  Then create another file named
> '.autoload' in the same location, and put the [perl][/perl] block in that
> file.
> 
> - Ed L.
> 

Thanks, Ed! My mind was numb from no sleep! Worked great!
Thanks again, Racke!