<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Authentication in opencms via Apache</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2149" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=653130610-23082004>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=653130610-23082004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=653130610-23082004>I had sent this email some time back but our exchange
server crashed i lost all my emails.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=653130610-23082004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=653130610-23082004>I am still trying to find for a solution on
this one.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=653130610-23082004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=653130610-23082004>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=653130610-23082004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=653130610-23082004>Oliver</SPAN></FONT></DIV><FONT face=Arial
color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Oliver Pereira <BR><B>Sent:</B> 06 August
2004 10:01<BR><B>To:</B> 'opencms-dev@opencms.org'<BR><B>Subject:</B> RE:
[opencms-dev] Authentication in opencms via Apache<BR><B>Importance:</B>
High<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff size=2>Let me try to explain what i am trying to
do.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff size=2>I have developed an application using Opencms 5.3.x in
Tomcat 4.1.24</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff size=2>I have the basic authentication turned off in Opencms in
the opencms.properties file and using a customised login.jsp to the do the
authentication in Opencms</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff
size=2>auth.basic=false<BR>auth.form_uri=/XXXXXXXX/login/login.jsp</FONT></SPAN></DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff size=2>This
works without any problems</FONT></SPAN></DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff size=2>Now i
have configured </FONT></SPAN><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff size=2>get Apache to serve the static content (images, css files
etc) and the rest of the calls go to tomcat / opencms.</FONT></SPAN></DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff size=2>But
when it comes to authenticating it authenticates but the redirection to the
login.jsp fails.. it says the file cannot be found</FONT></SPAN></DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff size=2>Hope i
have explained my problem in detail</FONT></SPAN></DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=975425308-06082004><FONT face=Arial color=#0000ff
size=2>Oliver</DIV>
<DIV dir=ltr align=left><BR></DIV></FONT></SPAN>
<DIV dir=ltr align=left><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=975425308-06082004><FONT face=Arial
color=#0000ff size=2> </DIV></FONT></SPAN><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Hitesh
[mailto:hitesh.patel@tatainfotech.com] <BR><B>Sent:</B> 06 August 2004
05:21<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B> Re: [opencms-dev]
Authentication in opencms via Apache<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>do u want to redirect via static page or what? i
didn't get the prob.</FONT></DIV>
<DIV><FONT face=Arial size=2>regds.</FONT></DIV>
<DIV><FONT face=Arial size=2>hitesh</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=Oliver.Pereira@dna.co.uk
href="mailto:Oliver.Pereira@dna.co.uk">Oliver Pereira</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, August 05, 2004 11:14
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Authentication in
opencms via Apache</DIV>
<DIV><BR></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hi,</FONT> </P>
<P><FONT face=Arial size=2>I have the basic authentication turned off in
tomcat and using a login.jsp to a authenticate user when the user tries to
access a restricted part of the site.</FONT></P>
<P><FONT face=Arial size=2>This works perfectly in Tomcat but currently I am
configuring Apache and Tomcat so that the static content is served via
Apache.</FONT></P>
<P><FONT face=Arial size=2>Everything works fine except the redirection to the
login page when trying to authenticate.</FONT> </P>
<P><FONT face=Arial size=2>Any ideas?</FONT> </P>
<P><FONT face=Arial size=2>Regards,</FONT> </P>
<P><FONT face=Arial size=2>Oliver</FONT>
</P></BLOCKQUOTE><BR>_____________________________________________________________________<BR>This
e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services
- powered by MessageLabs. For further information visit
http://www.mci.com<BR></BODY></HTML>