[Bug 370542] Re: Accessing http://localhost gives a 403 Forbidden when using apache "allow localhost" directive
Andreas Olsson
andreas at arrakis.se
Sun May 3 15:49:32 BST 2009
@Jonathan: You are right, I should test more and speculate less. I guess
I got a bit carried away. Thanks for pointing it out.
Regarding the part of listening on ipv6 I actually did some testing, on
a server install of 9.04. This is the result I got.
andreas at pc13267v1:~$ sudo netstat -ntlp | grep 80
[sudo] password for andreas:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2041/apache2
Now today, testing it on a Desktop install, I get the following
interesting results
* Doing a reboot *
andreas at pc13267v5:~$ sudo netstat -ntlp | grep 80
[sudo] password for andreas:
tcp6 0 0 :::80 :::* LISTEN 2438/apache2
andreas at pc13267v5:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2 ... waiting [ OK ]
andreas at pc13267v5:~$ sudo netstat -ntlp | grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2814/apache2
(Note that Apache is switching from ipv6 to ipv4 as it is manually
restarted)
Removing NetworkManager from my Desktop install, and instead configure
eth0 (using dhcp) from /etc/network/interfaces makes my desktop install
behave like my server install.
* Doing a reboot *
andreas at pc13267v5:~$ sudo netstat -tlpn | grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2545/apache2
--
Accessing http://localhost gives a 403 Forbidden when using apache "allow localhost" directive
https://bugs.launchpad.net/bugs/370542
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