Anyone have any luck fixing this?
Regards,
Reuben

On Thu, Jun 18, 2009 at 7:22 PM, Reuben K. Caron <reu...@laptop.org> wrote:

>
>
> On Thu, Jun 18, 2009 at 3:03 PM, Martin Langhoff <
> martin.langh...@gmail.com> wrote:
>
>> On Wed, Jun 17, 2009 at 5:28 PM, Reuben K. Caron<reu...@laptop.org>
>> wrote:
>> > Glad to hear you found the root cause. If we can come up with one or two
>> > simple commands for the OLPCorps teams to type at the command line to
>> fix
>> > this and then enable squid; I'm sure they will be glad to do so.
>>
>> It had all been a theoretical exercise. Today, trying to figure out
>> what the correct fix is to put it in an rpm I just cannot repro the
>> problem.
>>
>> The reason it 'Just Works' is that Apache is actually also listening
>> on localhost. So Squid will gladly connecto localhost and issue an
>> HTTP/1.1 request saying 'host'.
>>
>> Here is how I test that manually -- and apache replies nicely:
>>
>> # telnet 127.0.0.1 80
>> Trying 127.0.0.1...
>> Connected to 127.0.0.1.
>> Escape character is '^]'.
>> GET / HTTP/1.1
>> Host: schoolserver.test.xs.laptop.org
>>
>> HTTP/1.1 302 Found
>> Date: Thu, 18 Jun 2009 12:59:45 GMT
>> Server: Apache/2.2.9 (Fedora)
>> Location: http://schoolserver.test.xs.laptop.org/moodle
>> Content-Length<http://schoolserver.test.xs.laptop.org/moodle%0AContent-Length>:
>> 325
>> Content-Type: text/html; charset=iso-8859-1
>>
>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> ... HTML output elided.
>>
>>
>> Now, there is a number of changes (some of them trivial in appearence)
>> in the apache configuration that could break the behaviour... have the
>> local teams installed any extra software or added/changed
>> configuration of Apache?
>
> None. The installation was done as follows:
> Install from USB XS0.6d2.
> Install using all defaults.
> /etc/sysconfig/olpc-scripts/domain_config olpc.corp
> /etc/sysconfig/olpc-scripts/TURN_SQUID_ON
> reboot
> The hardware had two nics, one on the motherboard the second a USB dongle.
> Motherboard NIC, WAN, was and is not connected to internet. USB Dongle, LAN,
> was connected, and gave DHCP addresses over wireless to APs attached to that
> port.
> Regards,
> Reuben
>
_______________________________________________
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel

Reply via email to