You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Andy Ee <an...@sysatwork.com> on 2010/06/08 08:28:47 UTC
[users@httpd] Apache/2.2.12 Reverse Proxy
Dear all,
I am having JSP page redirecting problem with apache reverse proxy and
have been troubleshooting it for a month already. I really hope someone
may englighten me in this thread. Really appreciate and thanks.
The infra is setup as:
Internet <--> Apache2 Reverse Proxy <--> Tomcat
1. The apache2 is purely configured as a reverse proxy server and it's URL
is http://10.0.0.7/abc/mysite/
2. The Tomcat is setup to host the JSP website internally, and its URL is
http://192.168.0.60/mysite/
With the configurations given below, it maps to the internal url nicely. I
can see the JSP website by http://10.0.0.7/abc/mysite/
However, when I click on hyperlink on the website that does internal PAGE
REDIRECT, the browser could not display the page. Apparently, the page
redirect action breaks the reverse proxy.
Did i miss out anything?
My reverse proxy config:
ServerAdmin andy@easychat.org
<http://mail.easychat.org/src/compose.php?send_to=andy%40easychat.org>
ServerName 10.0.0.7
UseCanonicalName Off
ServerSignature Off
HostnameLookups Off
ServerTokens Prod
ServerRoot "/usr/local/apache2"
TraceEnable Off
Listen 0.0.0.0:80
NameVirtualHost 10.0.0.7:80
DocumentRoot "/www/apache2/"
PidFile /usr/local/apache2/logs/httpd.pid
ScoreBoardFile /usr/local/apache2/logs/httpd.scoreboard
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
# =================================================
# HTTP and performance settings
# =================================================
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 30
<IfModule prefork.c>
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
# ================================================
# PHP5
# ===============================================
LoadModule php5_module modules/libphp5.so
<IfModule php5_module>
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
</IfModule>
# =================================================
# Access control
# =================================================
<Directory />
Options None
AllowOverride none
Order deny,allow
Deny from all
</Directory>
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
<Directory "/usr/local/apache2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
# =================================================
# MIME encoding
# =================================================
<IfModule mod_mime.c>
TypesConfig /usr/local/apache2/conf/mime.types
</IfModule>
DefaultType text/plain
<IfModule mod_mime.c>
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-tar .tgz
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ /www/cgi-bin/
</IfModule>
# =================================================
# Reverse Proxy settings
# =================================================
LoadModule deflate_module modules/mod_deflate.so
LoadModule xmlns_module modules/mod_xmlns.so
LoadModule xhtml_module modules/mod_xhtml.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule headers_module modules/mod_headers.so
LoadFile /usr/lib/libxml2.so
LoadModule proxy_html_module modules/mod_proxy_html.so
LoadModule xml2enc_module modules/mod_xml2enc.so
<VirtualHost 10.0.0.7:80>
ServerAdmin andyee@sysatwork.com
<http://mail.easychat.org/src/compose.php?send_to=andyee%40sysatwork.com>
DocumentRoot /www/apache2/
ServerName 10.0.0.7
ServerAlias 10.0.0.7
Userdir disabled
ProxyHTMLLogVerbose On
LogLevel Debug
ProxyRequests Off
RewriteEngine on
RewriteRule ^/abc/mysite$ /abc/mysite/ [R]
ProxyPass /abc/mysite/ http://192.168.0.60/mysite/
ProxyPassReverse /abc/mysite/ http://192.168.0.60/mysite/
<Proxy *>
Order Deny,Allow
Allow from all
</Proxy>
<Location /abc/mysite/>
ProxyPassReverse /
ProxyHTMLEnable On
ProxyHTMLExtended On
ProxyHTMLURLMap /mysite/ /abc/mysite/
RequestHeader unset Accept-Encoding
ProxyHTMLLinks a href
ProxyHTMLLinks area href
ProxyHTMLLinks link href
ProxyHTMLLinks img src longdesc usemap
ProxyHTMLLinks object classid codebase data usemap
ProxyHTMLLinks q cite
ProxyHTMLLinks blockquote cite
ProxyHTMLLinks ins cite
ProxyHTMLLinks del cite
ProxyHTMLLinks form action
ProxyHTMLLinks input src usemap
ProxyHTMLLinks head profile
ProxyHTMLLinks base href
ProxyHTMLLinks script src for
ProxyHTMLLinks iframe src
ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \
onmouseover onmousemove onmouseout onkeypress \
onkeydown onkeyup onfocus onblur onload \
onunload onsubmit onreset onselect onchange
ProxyHTMLURLMap url\(http://192.168.0.60/mysite([^\)]*)\)
url(http://10.0.0.7/abc/mysite/ $1) Rihe
</Location>
BrowserMatch ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0
force-response-1.0
ErrorLog logs/mysite-error_log
CustomLog logs/mysite-access_log combined
</VirtualHost>
Best Regards,
Andy Ee
Re: [users@httpd] Apache/2.2.12 Reverse Proxy
Posted by Krist van Besien <kr...@gmail.com>.
On Tue, Jun 8, 2010 at 11:31 AM, Andy Ee <an...@sysatwork.com> wrote:
> Hi Krist,
>
> I went to install Live HTML Headers and tested it with FireFox browser.
>
> The output:
>
> http://10.0.0.7/abc/mysite/home.html
>
> GET /abc/mysite/home.html HTTP/1.1
> Host: 10.0.0.7
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.3)
> Gecko/20100401 Firefox/3.6.3
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: en-gb,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Referer: http://10.0.0.7/abc/mysite/login.jsp
> Cookie: JSESSIONID=B39216C807E1F2457B4E43911AF7F5ED
>
> HTTP/0.9 200 OK
> ----------------------------------------------------------
>
> It is suppose to redirect me to the page -
> http://10.0.0.7/abc/mysite/login.jsp, but somehow it does not.
What I see here is:
- You ask for home.html.
- The server gives you home.html.
- I can also see that you were on login.jsp before that.
So it looks like you were at login.jsp before, then got to home.html.
You really need to look at this from the beginning of a session. Also
look at the html code your browser gets.
Krist
--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to serve pages from a hidden secondary server
Posted by Matt Easton <ma...@gmail.com>.
On 10 Jun 2010, at 15:08, Tom Evans wrote:
> On Thu, Jun 10, 2010 at 2:56 PM, Matt Easton <ma...@gmail.com> wrote:
>> Hello there,
>>
>> I've just joined this group as I'm trying more complicated things now than I've done before in Apache! Please let me know if I'm not doing anything right. Thanks for your time.
>>
>> I have two computers on a home network, let's call them server1 and server2. They are both running an Apache server on port 80.
>>
>> server1 hosts my main external web pages, so my router routes http://home.domain.com to http://server1 (both on port 80)
>> server2 hosts some private pages, testing, sharing resources etc for my home network.
>>
>> All is fine, except I now have some pages from server2 that I want to make available outside of my home network. These are in a folder on the main site, i.e. http://server2/folder1
>>
>> Ideally, I want this to be done in such a way that it is hidden from the user that they are in fact accessing a different server.
>> Ideally I want them to go to http://home.domain.com/folder2 and actually be seeing http://server2/folder1
>>
>> I have tried doing this with mod_rewrite and failed. Is it possible to reference a different server with mod_rewrite, or can this only be used for files on the same machine?
>>
>> At the moment I have managed to serve the pages, by telling my router to forward port 8081 to server2:80. Hence, if I go to http://home.domain.com:8081/folder1 then I get the pages that I want. I have set up a Redirect directive on server1 so that http://home.domain.com/folder2 redirects to http://home.domain.com:8081/folder1, so I can get to the pages using the correct URI, but it doesn't stay in the address bar - it is redirected to the other port.
>>
>> It is further complicated because the data I want to serve includes streaming media, and this doesn't seem to cope with the 8081 port.
>>
>> I've been interested in the "mingle" emails today using proxies, but I can't get this to work either.
>>
>> Both machines are running Ubuntu.
>> server1: Ubuntu Karmic Koala 9.10 | Linux 2.6.31-22-generic | Apache/2.2.12 (Ubuntu)
>> server2: Ubuntu Lucid Lynx 10.04 LTS | Linux 2.6.32-22-generic | Apache/2.2.14 (Ubuntu)
>>
>> Many thanks, and please let me know if I've missed out any vital information!
>> Cheers,
>> matt
>
> Enable mod_proxy and mod_proxy_html, add this to the vhost you want
> /folder2 to appear on:
>
> <Location /folder2/>
> ProxyPass http://server2/folder1/
> ProxyPassReverse http://server2/folder1/
> </Location>
>
> Cheers
>
> Tom
Thank you very much Tom! It was very simple, but I hadn't been using the proxy_http module.
It was slightly complicated when it came to authentication - the http://home.domain.com site has digest authentication, and I assumed the location would inherit this, but it gave a permission error. As soon as I entered the Auth* directives into the location section as well as its parent, this has been fine.
Thanks,
matt
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to serve pages from a hidden secondary server
Posted by Tom Evans <te...@googlemail.com>.
On Thu, Jun 10, 2010 at 3:08 PM, Tom Evans <te...@googlemail.com> wrote:
> Enable mod_proxy and mod_proxy_html, add this to the vhost you want
^^^^ mod_proxy_http
>
> Cheers
>
> Tom
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to serve pages from a hidden secondary server
Posted by Tom Evans <te...@googlemail.com>.
On Thu, Jun 10, 2010 at 2:56 PM, Matt Easton <ma...@gmail.com> wrote:
> Hello there,
>
> I've just joined this group as I'm trying more complicated things now than I've done before in Apache! Please let me know if I'm not doing anything right. Thanks for your time.
>
> I have two computers on a home network, let's call them server1 and server2. They are both running an Apache server on port 80.
>
> server1 hosts my main external web pages, so my router routes http://home.domain.com to http://server1 (both on port 80)
> server2 hosts some private pages, testing, sharing resources etc for my home network.
>
> All is fine, except I now have some pages from server2 that I want to make available outside of my home network. These are in a folder on the main site, i.e. http://server2/folder1
>
> Ideally, I want this to be done in such a way that it is hidden from the user that they are in fact accessing a different server.
> Ideally I want them to go to http://home.domain.com/folder2 and actually be seeing http://server2/folder1
>
> I have tried doing this with mod_rewrite and failed. Is it possible to reference a different server with mod_rewrite, or can this only be used for files on the same machine?
>
> At the moment I have managed to serve the pages, by telling my router to forward port 8081 to server2:80. Hence, if I go to http://home.domain.com:8081/folder1 then I get the pages that I want. I have set up a Redirect directive on server1 so that http://home.domain.com/folder2 redirects to http://home.domain.com:8081/folder1, so I can get to the pages using the correct URI, but it doesn't stay in the address bar - it is redirected to the other port.
>
> It is further complicated because the data I want to serve includes streaming media, and this doesn't seem to cope with the 8081 port.
>
> I've been interested in the "mingle" emails today using proxies, but I can't get this to work either.
>
> Both machines are running Ubuntu.
> server1: Ubuntu Karmic Koala 9.10 | Linux 2.6.31-22-generic | Apache/2.2.12 (Ubuntu)
> server2: Ubuntu Lucid Lynx 10.04 LTS | Linux 2.6.32-22-generic | Apache/2.2.14 (Ubuntu)
>
> Many thanks, and please let me know if I've missed out any vital information!
> Cheers,
> matt
Enable mod_proxy and mod_proxy_html, add this to the vhost you want
/folder2 to appear on:
<Location /folder2/>
ProxyPass http://server2/folder1/
ProxyPassReverse http://server2/folder1/
</Location>
Cheers
Tom
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] How to serve pages from a hidden secondary server
Posted by Matt Easton <ma...@gmail.com>.
Hello there,
I've just joined this group as I'm trying more complicated things now than I've done before in Apache! Please let me know if I'm not doing anything right. Thanks for your time.
I have two computers on a home network, let's call them server1 and server2. They are both running an Apache server on port 80.
server1 hosts my main external web pages, so my router routes http://home.domain.com to http://server1 (both on port 80)
server2 hosts some private pages, testing, sharing resources etc for my home network.
All is fine, except I now have some pages from server2 that I want to make available outside of my home network. These are in a folder on the main site, i.e. http://server2/folder1
Ideally, I want this to be done in such a way that it is hidden from the user that they are in fact accessing a different server.
Ideally I want them to go to http://home.domain.com/folder2 and actually be seeing http://server2/folder1
I have tried doing this with mod_rewrite and failed. Is it possible to reference a different server with mod_rewrite, or can this only be used for files on the same machine?
At the moment I have managed to serve the pages, by telling my router to forward port 8081 to server2:80. Hence, if I go to http://home.domain.com:8081/folder1 then I get the pages that I want. I have set up a Redirect directive on server1 so that http://home.domain.com/folder2 redirects to http://home.domain.com:8081/folder1, so I can get to the pages using the correct URI, but it doesn't stay in the address bar - it is redirected to the other port.
It is further complicated because the data I want to serve includes streaming media, and this doesn't seem to cope with the 8081 port.
I've been interested in the "mingle" emails today using proxies, but I can't get this to work either.
Both machines are running Ubuntu.
server1: Ubuntu Karmic Koala 9.10 | Linux 2.6.31-22-generic | Apache/2.2.12 (Ubuntu)
server2: Ubuntu Lucid Lynx 10.04 LTS | Linux 2.6.32-22-generic | Apache/2.2.14 (Ubuntu)
Many thanks, and please let me know if I've missed out any vital information!
Cheers,
matt
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Apache/2.2.12 Reverse Proxy
Posted by Andy Ee <an...@sysatwork.com>.
Hi Krist,
Thanks for your response!
Yes you are right. My initial landing page is login.jsp. On the page itself,
there's HOME hyperlink that points to home.html.
When I click on the hyperlink, the reverse proxy contacts the internal
server for home.html. This home.html does redirect back to login.jsp,
however, somehow the browser does not get redirect back to login.jsp and
ended up with page not found.
Any idea?
Best Regards,
Andy Ee
-----Original Message-----
From: Krist van Besien [mailto:krist.vanbesien@gmail.com]
Sent: Thursday, 10 June, 2010 7:01 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache/2.2.12 Reverse Proxy
On Tue, Jun 8, 2010 at 11:43 AM, Andy Ee <an...@sysatwork.com> wrote:
> Hi,
>
> To be more detail, the output of Live HTML Headers is correct. The
home.html
> does internal redirection to login.jsp, but somehow reverse proxy is
unable
> to map properly. Any idea? Thanks.
So when the browser requests home.html the proxy maps that to
home.jsp on the backend? The backend generates html and passes it back
to the browser. But what should happen then that isn't happening?
Krist
(forget my remark about php in the previous post. You are using jsp I see)
--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache/2.2.12 Reverse Proxy
Posted by Krist van Besien <kr...@gmail.com>.
On Tue, Jun 8, 2010 at 11:43 AM, Andy Ee <an...@sysatwork.com> wrote:
> Hi,
>
> To be more detail, the output of Live HTML Headers is correct. The home.html
> does internal redirection to login.jsp, but somehow reverse proxy is unable
> to map properly. Any idea? Thanks.
So when the browser requests home.html the proxy maps that to
home.jsp on the backend? The backend generates html and passes it back
to the browser. But what should happen then that isn't happening?
Krist
(forget my remark about php in the previous post. You are using jsp I see)
--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Apache/2.2.12 Reverse Proxy
Posted by Andy Ee <an...@sysatwork.com>.
Hi,
To be more detail, the output of Live HTML Headers is correct. The home.html
does internal redirection to login.jsp, but somehow reverse proxy is unable
to map properly. Any idea? Thanks.
Best Regards,
Andy Ee
-----Original Message-----
From: Andy Ee [mailto:andyee@sysatwork.com]
Sent: Tuesday, 8 June, 2010 5:31 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Apache/2.2.12 Reverse Proxy
Hi Krist,
I went to install Live HTML Headers and tested it with FireFox browser.
The output:
http://10.0.0.7/abc/mysite/home.html
GET /abc/mysite/home.html HTTP/1.1
Host: 10.0.0.7
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.3)
Gecko/20100401 Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://10.0.0.7/abc/mysite/login.jsp
Cookie: JSESSIONID=B39216C807E1F2457B4E43911AF7F5ED
HTTP/0.9 200 OK
----------------------------------------------------------
It is suppose to redirect me to the page -
http://10.0.0.7/abc/mysite/login.jsp, but somehow it does not.
Best Regards,
Andy Ee
-----Original Message-----
From: Krist van Besien [mailto:krist.vanbesien@gmail.com]
Sent: Tuesday, 8 June, 2010 4:59 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache/2.2.12 Reverse Proxy
On Tue, Jun 8, 2010 at 8:28 AM, Andy Ee <an...@sysatwork.com> wrote:
> However, when I click on hyperlink on the website that does internal PAGE
>
> REDIRECT, the browser could not display the page. Apparently, the page
>
> redirect action breaks the reverse proxy.
Have you looked at what passes back and forth between browser and
servers using a tool like LiveHTMLHeaders?
Krist
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Apache/2.2.12 Reverse Proxy
Posted by Andy Ee <an...@sysatwork.com>.
Hi Krist,
I went to install Live HTML Headers and tested it with FireFox browser.
The output:
http://10.0.0.7/abc/mysite/home.html
GET /abc/mysite/home.html HTTP/1.1
Host: 10.0.0.7
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.3)
Gecko/20100401 Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://10.0.0.7/abc/mysite/login.jsp
Cookie: JSESSIONID=B39216C807E1F2457B4E43911AF7F5ED
HTTP/0.9 200 OK
----------------------------------------------------------
It is suppose to redirect me to the page -
http://10.0.0.7/abc/mysite/login.jsp, but somehow it does not.
Best Regards,
Andy Ee
-----Original Message-----
From: Krist van Besien [mailto:krist.vanbesien@gmail.com]
Sent: Tuesday, 8 June, 2010 4:59 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache/2.2.12 Reverse Proxy
On Tue, Jun 8, 2010 at 8:28 AM, Andy Ee <an...@sysatwork.com> wrote:
> However, when I click on hyperlink on the website that does internal PAGE
>
> REDIRECT, the browser could not display the page. Apparently, the page
>
> redirect action breaks the reverse proxy.
Have you looked at what passes back and forth between browser and
servers using a tool like LiveHTMLHeaders?
Krist
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache/2.2.12 Reverse Proxy
Posted by Krist van Besien <kr...@gmail.com>.
On Tue, Jun 8, 2010 at 8:28 AM, Andy Ee <an...@sysatwork.com> wrote:
> However, when I click on hyperlink on the website that does internal PAGE
>
> REDIRECT, the browser could not display the page. Apparently, the page
>
> redirect action breaks the reverse proxy.
Have you looked at what passes back and forth between browser and
servers using a tool like LiveHTMLHeaders?
Krist
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org