Forum Moderators: phranque

Message Too Old, No Replies

access apache via proxy

         

Janaka

3:44 am on Aug 11, 2010 (gmt 0)

10+ Year Member



I have set up home apache web server on ubuntu which connects to the web via ADSL ( using dyndns service ).

It is working fine.

But I've noted that when I access my site via proxy
the large files ( may be more than 1024 bytes ) not
loading. When I access the site using a direct connection
site is working fine. What could be the problem ?

jdMorgan

4:58 pm on Aug 12, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Take a look at your browser requests and the server responses using the "Live HTTP Headers" add-on for Firefox. It is possible that the server and the proxy together do not support recent HTTP protocol developments such as request pipelining and /or "chunked" (partial-page) transfers. The problem could be in either the server or the proxy, but without looking at the request/response headers, it might take months to 'guess' the right answer...

Jim

Janaka

3:36 am on Aug 13, 2010 (gmt 0)

10+ Year Member



Thanks for the reply

unfortunately with live http header tool when I access my site via proxy I do not get reply.

I have installed wireshark in my server and after I activate
trace and access the site via proxy I got lot of output data out of that one message was shown below

397 46.545089 192.168.1.2 112.135.160.95 TCP [TCP Retransmission] [TCP segment of a reassembled PDU]
398 46.546106 192.168.1.1 192.168.1.2 ICMP Destination unreachable (Fragmentation needed)

what could be the problem. Do I have to configure my DSL home router ? any changes to server TCP settings.

Janaka

3:09 pm on Aug 13, 2010 (gmt 0)

10+ Year Member



I've solved the problem. I've set MTU value to 1492. Now my site coluld be accesd via proxy

jdMorgan

7:03 pm on Aug 13, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ah, good news... I was going to reply that yes, you will need to configure your router to forward port 80 requests from your public (WAN) IP address to the LAN IP address of your server.

Glad you got it sorted!

Jim