[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Fri, 29 Jul 2005 16:50:34 -0400 -->
- <!--x-from-r13: psbjyre ng bhgcbfgfragvary.pbz (Quevfgbcure Tbjyre) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] https being redirected to http -->
- <li><em>date</em>: Fri, 29 Jul 2005 16:50:34 -0400</li>
- <li><em>from</em>: cfowler at outpostsentinel.com (Christopher Fowler)</li>
- <li><em>subject</em>: [ale] https being redirected to http</li>
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
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00442" href="msg00442.html">[ale] https being redirected to http</a></strong>
<ul><li><em>From:</em> stephen at bee.net (Stephen Cristol)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00433.html">[ale] OpenOffice odd printing?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00435.html">[ale] Small keysigning hangout next week</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00430.html">[ale] Flat file post-processing - drop records based on text</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00442.html">[ale] https being redirected to http</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00434"><strong>Date</strong></a></li>
<li><a href="threads.html#00434"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>