You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tom Ray <to...@blazestudios.com> on 2002/03/02 19:02:16 UTC
Authorization Required
I was wondering, with .htaccess when you enter a bad username/password
combo and it sends you to the Authorization Required page, is there a
way to redirect the user to a page that I created? I'm thinking along
the lines of the 404 Error redirection that you can do with an .htaccess
file. Is this possible and if so what's the command for it, I can't seem
to find anything on it.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Authorization Required
Posted by Tom Ray <to...@blazestudios.com>.
Ahhh..thanks. I didn't think about that since a 401 never came up.....I
will give that a try..thanks alot.
Joshua Slive wrote:
>On Sat, 2 Mar 2002, Tom Ray wrote:
>
>>I was wondering, with .htaccess when you enter a bad username/password
>>combo and it sends you to the Authorization Required page, is there a
>>way to redirect the user to a page that I created? I'm thinking along
>>the lines of the 404 Error redirection that you can do with an .htaccess
>>file. Is this possible and if so what's the command for it, I can't seem
>>to find anything on it.
>>
>
>ErrorDocument 401 /notauthorized.html
>
>http://httpd.apache.org/docs/mod/core.html#errordocument
>
>Joshua.
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Authorization Required
Posted by Joshua Slive <jo...@slive.ca>.
On Sat, 2 Mar 2002, Tom Ray wrote:
> I was wondering, with .htaccess when you enter a bad username/password
> combo and it sends you to the Authorization Required page, is there a
> way to redirect the user to a page that I created? I'm thinking along
> the lines of the 404 Error redirection that you can do with an .htaccess
> file. Is this possible and if so what's the command for it, I can't seem
> to find anything on it.
ErrorDocument 401 /notauthorized.html
http://httpd.apache.org/docs/mod/core.html#errordocument
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org