You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/11/14 16:47:32 UTC

DO NOT REPLY [Bug 37494] New: - ErrorDocment 401 with redirect to external URL

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37494>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37494

           Summary: ErrorDocment 401 with redirect to external URL
           Product: Apache httpd-2.0
           Version: 2.0.46
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: apache.org@j.payandsurf.com


I would like to propose a change in the behavior of ErrorDocument 401. Today, it
cannot be specified as a link to an external server. I see the point in the
documentation, which states:

"In addition, if you use a remote URL in an ErrorDocument 401, the client will
not know to prompt the user for a password since it will not receive the 401
status code. Therefore, if you use an ErrorDocument 401 directive then it must
refer to a local document."

However, this is exactly what I would like to do.

I have a page which should be reachable by username/password only, and only
using a scripted solution. Any other visitors should get redirected to a
different site. I don't want users that access the page without username to get
a password prompt, I want them to be redirected out of there.

Therefore, I suggest removing the special treatment of 'ErrorDocument' for error
code 401. Perhaps replace it with a warning (although that would clutter up my
logs, I can live with it..)

  // J

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org