[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] .htaccess yet again



Thank you Gerald and Dan for the confirmation and very useful
reference. For the sake of anyone in my position in the future I'll
mention onlist that what I was missing was that if you user
ErrorDocument 401 it must point to a local, *not* external document.

One more question if you'll indulge me... again, I have tried to find
it myself but it's just too confusing:

Redirection to my own 401 page is working now but after it appears the
authorization dialog box is still there in front of it; and the URL in
the browser's address bar still reads as the document in the
"forbidden" directory. I'd prefer it to just go to the 401 page and
stop.

Is this something to do with the rewrite rule for the site? Or what?

--
Eddie Bishop


----- Original Message -----
From: Dan Kriwitsky
To: cobalt-users@xxxxxxxxxxxxxxx
Sent: Wednesday, February 13, 2002 7:01 PM
Subject: RE: [cobalt-users] .htaccess yet again


> Can .htaccess be used to require authorisation for access a
> directory and then redirect the browser to a custom page if
> that authorisation fails - ie if the user fails three times
> to supply a valid l/p?
>

If you were searching for "authorisation" instead of authorization,
that
might have been the problem.

http://www.vpshandbook.net/chapter6/chapter6-1-3.html
--
Dan Kriwitsky




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users