[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Sun, 31 Jul 2005 15:24:24 -0400 -->
- <!--x-from-r13: fgrcura ng orr.arg (Egrcura Qevfgby) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] https being redirected to http -->
- <li><em>date</em>: Sun, 31 Jul 2005 15:24:24 -0400</li>
- <li><em>from</em>: stephen at bee.net (Stephen Cristol)</li>
- <li><em>in-reply-to</em>: <<a href="msg00434.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00434.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] https being redirected to http</li>
<a rel="nofollow" href="https://ipaddress/">https://ipaddress/</a>
(assuming this resolves to the index.html listed below) should cause
your browser to refresh to:
<a rel="nofollow" href="https://ipaddress/AlarmCenter/">https://ipaddress/AlarmCenter/</a>
which should resolve to:
<a rel="nofollow" href="https://ipaddress/AlarmCenter/index.jsp">https://ipaddress/AlarmCenter/index.jsp</a>
(because of the DirectoryIndex directive). My guess is that whatever is
pushing the request from this page to the "login.htm" page is also
pushing you from https to http. Depending on the mechanism that
triggers the login request, I'd look at:
/opt/SAM/jakarta-tomcat-4.1.30/webapps/AlarmCenter/index.jsp
or the configuration files:
/opt/SAM/jakarta-tomcat-4.1.30/webapps/AlarmCenter/.htaccess
/opt/SAM/jakarta-tomcat-4.1.30/webapps/.htaccess
/etc/httpd/conf/httpd.conf (or wherever this lives)
Good luck,
S
On Jul 29, 2005, at 4:50 PM, Christopher Fowler wrote:
> I've got the following setup:
>
> Stunnel --> Apache --> Tomcat
>
> I'm doing this to hack in https support temporarily between the web
> browser and the web server. The problem is that when tomcat does the
> redirects to send the client to the correct pages it replaces 'https'
> with 'http'
>
> Here is my Apache index.html
> --------------------------
> <HTML>
> <HEAD>
> <META HTTP-EQUIV="refresh" content="0;URL=/AlarmCenter/">
> <TITLE></TITLE>
> </HEAD>
> <BODY>
> </BODY>
> </HTML>
> -------------------------
>
> No where does it say http. But If I go to site "<a rel="nofollow" href="https://ipaddress/">https://ipaddress/</a>' My
> browser will be redirected to '<a rel="nofollow" href="http://ipaddress/AlarmCenter/login.htm">http://ipaddress/AlarmCenter/login.htm</a>'
> Why is tomcat or apache ignoring the fact that I originally came in via
> https? Could it be a setting in mod_jk.conf?
>
> --------------------------
> <IfModule !mod_jk.c>
> LoadModule jk_module /usr/local/apache/modules/mod_jk.so
> </IfModule>
>
> JkWorkersFile "/usr/local/tomcat/conf/jk/workers.properties"
> JkLogFile "/usr/local/tomcat/logs/mod_jk.log"
>
> JkLogLevel emerg
>
> # Static files
> Alias /AlarmCenter "/opt/SAM/jakarta-tomcat-4.1.30/webapps/AlarmCenter"
>
> <Directory "/opt/SAM/jakarta-tomcat-4.1.30/webapps/AlarmCenter">
> Options Indexes FollowSymLinks
> DirectoryIndex index.jsp
> </Directory>
>
>
> # Deny direct access to WEB-INF and META-INF
> #
> <Location "/AlarmCenter/WEB-INF/*">
> AllowOverride None
> deny from all
> </Location>
>
> <Location "/AlarmCenter/META-INF/*">
> AllowOverride None
> deny from all
> </Location>
>
> JkMount /AlarmCenter/*.html ajp13
> JkMount /AlarmCenter/*.jsp ajp13
> ------------------------------------
>
>
> Thanks,
> Chris
>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
>
--
Stephen Cristol
cristol at emory.edu
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00434" href="msg00434.html">[ale] https being redirected to http</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00441.html">[ale] Evolution 2.2.1.1</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00434.html">[ale] https being redirected to http</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00435.html">[ale] Small keysigning hangout next week</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00442"><strong>Date</strong></a></li>
<li><a href="threads.html#00442"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>