You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Arion Yu <ar...@stt.com.hk> on 2000/09/20 10:10:29 UTC
Problem using Auth Realm with Apache (mod_jk)
Hi!
I have configured Tomcat to protect documents under a context. In normal
circumstance, it should goes to the login page (using form login).
However, the host is rewritten as the setting in Apache's ServerName.
This cause problem as the server has 2 IP for intranet and internet
access.
Only one of the them can access the resource.
What can I do in order to server both of them?
Thanks
Arion
--
[This email and any files transmitted with it are confidential and may
contain information that is legally privileged. They are intended solely
for the addressee(s). Access to this email by anyone else is
unauthorized. If you are not the intended recipient, please delete it
and notify the sender by email immediately; you should not copy or use
it for any purpose, nor disclose its contents to any other person. Thank
you.]
Re: Problem using Auth Realm with Apache (mod_jk)
Posted by Arion Yu <ar...@stt.com.hk>.
Hi!
I have tried telnet to the port 80 (Apache) and found the following:
<head><title>Document moved</title></head>
<body><h1>Document moved</h1>
This document has moved <a
href="http://192.168.52.213/pis/login.html">here</a>.
<p>
</body>
Connection closed by foreign host.
and for 8080 (directly to Tomcat)
HTTP/1.0 302 Found
Content-Type: text/html
Location: http://linux.stt.com.hk:8080/pis/login.html
Content-Length: 176
Servlet-Engine: Tomcat Web Server/3.3 dev (JSP 1.1; Servlet 2.2; Java
1.3.0rc1;
Linux 2.2.12-20 i386; java.vendor=Sun Microsystems Inc.)
<head><title>Document moved</title></head>
<body><h1>Document moved</h1>
This document has moved <a
href="http://linux.stt.com.hk:8080/pis/login.html">he
re</a>.<p>
</body>
Connection closed by foreign host.
Any one help?
Thanks
Arion
Arion Yu wrote:
> Hi!
>
> I have configured Tomcat to protect documents under a context. In normal
>
> circumstance, it should goes to the login page (using form login).
> However, the host is rewritten as the setting in Apache's ServerName.
> This cause problem as the server has 2 IP for intranet and internet
> access.
> Only one of the them can access the resource.
>
> What can I do in order to server both of them?
>
> Thanks
>
> Arion
>
> --
> [This email and any files transmitted with it are confidential and may
> contain information that is legally privileged. They are intended solely
> for the addressee(s). Access to this email by anyone else is
> unauthorized. If you are not the intended recipient, please delete it
> and notify the sender by email immediately; you should not copy or use
> it for any purpose, nor disclose its contents to any other person. Thank
> you.]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
--
[This email and any files transmitted with it are confidential and may
contain information that is legally privileged. They are intended solely for
the addressee(s). Access to this email by anyone else is unauthorized. If
you are not the intended recipient, please delete it and notify the sender
by email immediately; you should not copy or use it for any purpose, nor
disclose its contents to any other person. Thank you.]