[Bug 631064] [NEW] connection "forbidden" on localhost after wireless connected

Gerben gerbgeus at gmail.com
Sun Sep 5 20:19:33 BST 2010


Public bug reported:

Binary package hint: apache2

1) ubuntu locid   (32 bit??)
2) 2.2.14-5ubuntu8
3)  expected a valid response, not the "forbidden" page
4) got presented the "forbidden" page

Details:
I've restricted a location to be accessed from only the localhost (e.g. 'apache status').

After booting my laptop, this site is available through "http://localhost/server-status" and the page as generated by this module is presented.
After my laptop connects to my wireless network, communication trhough "http://localhost/server-status" is blocked, with apache2 serving the page "Forbidden..   You don't have permission to access /server-status on this server."
Replacing localhost with the ip number "127.0.0.1" allows correct and normal access.

I've also had this problem withour being in the neighborhood of my
wireless network.

After re-starting apache2 all access is as expected, using "localhost" to the restricted site is possible again.
To me it looks like (but I'm not internally known to apache) the localhost interface got re-initiated, generating a new "authorisation" key while apache2 only holds an old key for the localhost before it got re-instantiated.

This bug might be related to    https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/37054
but I got lost in that.

This is reproducable by re-starting the laptop.
This problem might not be that urgent because server machines only have wired and fixed ethernet cards that are already connected at boot time.

<IfModule mod_status.c>
#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Uncomment and change the ".example.com" to allow
# access from other hosts.
#
ExtendedStatus On
SeeRequestTail On
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
#    Allow from hp8220
    Allow from localhost ip6-localhost
#    Allow from .example.com
</Location>

</IfModule>

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: apache2.2-bin 2.2.14-5ubuntu8
ProcVersionSignature: Ubuntu 2.6.32-24.42-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Sun Sep  5 20:53:58 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: apache2

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
connection "forbidden" on localhost after wireless connected
https://bugs.launchpad.net/bugs/631064
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.



More information about the Ubuntu-server-bugs mailing list