🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #476

TOMCAT4 authentication problem?

#476
From: Edward A Thompson
Date: Sun, 02 Mar 2003 00:54
27 lines
1833 bytes
When I access my web site at
http://ed4becky.dnsalias.org/comics/jsp/titlelist.jsp,
I get a 404 not found error.

Now, comics/jsp is a secure area, so the auth.html screen should
come up.

comics/WEB-INF/web.xml includes the following:
    <login-config>
      <auth-method>FORM</auth-method>
      <realm-name>Example Form-Based Authentication Area</realm-name>
      <form-login-config>
        <form-login-page>/auth.html</form-login-page>
        <form-error-page>/auth_error.html</form-error-page>
      </form-login-config>
    </login-config>

Instead I get a 'Page Cannot be Found' error.  If I go right back
to http://ed4becky.dnsalias.org/comics/jsp/titlelist.jsp from the same
window, I am sent to the login screen and THEN to titlelist!!

Why am I not sent to auth.html the first time, but the scond time is
fine?

Any help?

Thanx - Ed
Technical Details
Message-ID: <d913df37.0303011654.77274608@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4be4,f37157b7feb8a6df,start
X-Google-Attributes: gidf4be4,public
X-Google-Thread: 10a146,f37157b7feb8a6df,start
X-Google-Attributes: gid10a146,public
X-Google-ArrivalTime: 2003-03-01 16:54:56 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ed4becky_2000@yahoo.com (Edward A Thompson)
Newsgroups: comp.lang.java.programmer,borland.public.jbuilder.servlets-jsp
Subject: TOMCAT4 authentication problem?
Date: 1 Mar 2003 16:54:56 -0800
Organization: http://groups.google.com/
Lines: 27
Message-ID: <d913df37.0303011654.77274608@posting.google.com>
NNTP-Posting-Host: 24.93.81.54
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1046566496 9017 127.0.0.1 (2 Mar 2003 00:54:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 2 Mar 2003 00:54:56 GMT