[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-users
Subject: [users@httpd] Apache 2.4.3/mod_jk vs mod_proxy.
From: Kheng_Ee <kheng_ee_sim () yahoo ! com>
Date: 2013-01-25 3:02:34
Message-ID: 1359082954.18719.YahooMailNeo () web163802 ! mail ! gq1 ! yahoo ! com
[Download RAW message or body]
This is the part of httpd.conf for non-SSL request.
<VirtualHost 192.168.220.121:80>
DocumentRoot "/export/home/htdocs"
ServerName www.x.com
ServerAdmin s@s.com
<Location /index.html>
Redirect /index.html http://x.com/E/e.jsp
</Location>
Using mod_proxy, the line location and redirect allow BOTH http://.x.com or \
http://x.com/index.html to go the the rightful url. However on mod_jk, only \
http://x.com.index.html works but with http:/x.com has error 502 gateway error.
The version of mod_jk used is 1.2.37
Please advise.
[Attachment #3 (text/html)]
<html><body><div style="color:#000; background-color:#fff; font-family:verdana, \
helvetica, sans-serif;font-size:10pt"><div style="color: rgb(0, 0, 0); font-size: \
13.3333px; font-family: verdana,helvetica,sans-serif; background-color: transparent; \
font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: verdana,helvetica,sans-serif; background-color: transparent; font-style: \
normal;">This is the part of httpd.conf for non-SSL request.<br></div><div \
style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: \
verdana,helvetica,sans-serif; background-color: transparent; font-style: \
normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: verdana,helvetica,sans-serif; background-color: transparent; font-style: \
normal;"><VirtualHost 192.168.220.121:80><br>DocumentRoot \
"/export/home/htdocs"<br>ServerName www.x.com<br>ServerAdmin \
s@s.com<br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: \
verdana,helvetica,sans-serif; background-color: transparent; font-style: \
normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: verdana,helvetica,sans-serif; font-style: normal; background-color: \
transparent;"><span style="background-color: rgb(191, 0, 191);"><Location \
/index.html><br> Redirect /index.html \
http://x.com/E/e.jsp<br></Location></span></div><div style="color: rgb(0, 0, \
0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; \
background-color: transparent; font-style: normal;"><br></div><div style="color: \
rgb(0, 0, 0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; \
background-color: transparent; font-style: normal;">Using mod_proxy, the line \
location and redirect allow BOTH http://.x.com or http://x.com/index.html to go \
the the rightful url.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: verdana,helvetica,sans-serif; background-color: transparent; font-style: \
normal;">However on mod_jk, only http://x.com.index.html works but with http:/x.com \
has error 502 gateway error. <br></div><div style="color: rgb(0, 0, 0); font-size: \
13.3333px; font-family: verdana,helvetica,sans-serif; background-color: transparent; \
font-style: normal;">The version of mod_jk used is 1.2.37</div><div style="color: \
rgb(0, 0, 0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; \
background-color: transparent; font-style: normal;"><br></div><div style="color: \
rgb(0, 0, 0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; \
background-color: transparent; font-style: normal;">Please advise.<br></div><div \
style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: \
verdana,helvetica,sans-serif; background-color: transparent; font-style: \
normal;"><br></div></div></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic