[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



     <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 &quot;login.htm&quot; 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:
&gt; I've got the following setup:
&gt;
&gt; Stunnel --&gt; Apache --&gt; Tomcat
&gt;
&gt; I'm doing this to hack in https support temporarily between the web
&gt; browser and the web server.  The problem is that when tomcat does the
&gt; redirects to send the client to the correct pages it replaces 'https'
&gt; with 'http'
&gt;
&gt; Here is my Apache index.html
&gt; --------------------------
&gt;  &lt;HTML&gt;
&gt; &lt;HEAD&gt;
&gt; &lt;META HTTP-EQUIV=&quot;refresh&quot; content=&quot;0;URL=/AlarmCenter/&quot;&gt;
&gt; &lt;TITLE&gt;&lt;/TITLE&gt;
&gt; &lt;/HEAD&gt;
&gt; &lt;BODY&gt;
&gt; &lt;/BODY&gt;
&gt; &lt;/HTML&gt;
&gt; -------------------------
&gt;
&gt; No where does it say http. But If I go to site &quot;<a  rel="nofollow" href="https://ipaddress/";>https://ipaddress/</a>'  My
&gt; browser will be redirected to '<a  rel="nofollow" href="http://ipaddress/AlarmCenter/login.htm";>http://ipaddress/AlarmCenter/login.htm</a>'
&gt; Why is tomcat or apache ignoring the fact that I originally came in via
&gt; https?  Could it be a setting in mod_jk.conf?
&gt;
&gt; --------------------------
&gt; &lt;IfModule !mod_jk.c&gt;
&gt;   LoadModule jk_module /usr/local/apache/modules/mod_jk.so
&gt; &lt;/IfModule&gt;
&gt;
&gt; JkWorkersFile &quot;/usr/local/tomcat/conf/jk/workers.properties&quot;
&gt; JkLogFile &quot;/usr/local/tomcat/logs/mod_jk.log&quot;
&gt;
&gt; JkLogLevel emerg
&gt;
&gt; # Static files
&gt; Alias /AlarmCenter &quot;/opt/SAM/jakarta-tomcat-4.1.30/webapps/AlarmCenter&quot;
&gt;
&gt; &lt;Directory &quot;/opt/SAM/jakarta-tomcat-4.1.30/webapps/AlarmCenter&quot;&gt;
&gt; Options Indexes FollowSymLinks
&gt; DirectoryIndex index.jsp
&gt; &lt;/Directory&gt;
&gt;
&gt;
&gt; # Deny direct access to WEB-INF and META-INF
&gt; #
&gt; &lt;Location &quot;/AlarmCenter/WEB-INF/*&quot;&gt;
&gt; AllowOverride None
&gt; deny from all
&gt; &lt;/Location&gt;
&gt;
&gt; &lt;Location &quot;/AlarmCenter/META-INF/*&quot;&gt;
&gt; AllowOverride None
&gt; deny from all
&gt; &lt;/Location&gt;
&gt;
&gt; JkMount /AlarmCenter/*.html  ajp13
&gt; JkMount /AlarmCenter/*.jsp  ajp13
&gt; ------------------------------------
&gt;
&gt;
&gt; Thanks,
&gt; Chris
&gt;
&gt;
&gt;
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;
&gt;
-- 
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>