Accessing http://localhost gives a 403 Forbidden when using apache "allow localhost" directive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apache2
For some reason accessing http://
After reloading apache (sudo service apache2 restart), apache loads correctly the requested page. The /var/www directory is mounted to a separate partition.
ProblemType: Bug
Architecture: i386
Dependencies: apache2-mpm-worker None [modified: /var/lib/
DistroRelease: Ubuntu 9.04
Package: apache2 2.2.11-2ubuntu2
PackageArchitec
ProcEnviron:
LANG=fi_FI.UTF-8
SHELL=/bin/bash
SourcePackage: apache2
Uname: Linux 2.6.28-11-generic i686
summary: |
- Accessing http://localhost gives without reason a 403 Forbidden error - page + Accessing http://localhost gives a 403 Forbidden when using apache + "allow localhost" directive |
tags: | added: jaunty karmic lucid |
Here is the output from apache's error log:
[Fri May 01 22:09:58 2009] [notice] Apache/2.2.11 (Ubuntu) PHP/5.2. 6-3ubuntu4. 1 with Suhosin-Patch configured -- resuming normal operations 6-3ubuntu4. 1 with Suhosin-Patch configured -- resuming normal operations
[Fri May 01 22:26:57 2009] [error] [client ::1] client denied by server configuration: /var/www/
[Fri May 01 22:33:19 2009] [error] [client ::1] client denied by server configuration: /var/www/aaa
[Fri May 01 22:35:20 2009] [notice] caught SIGTERM, shutting down
[Fri May 01 22:35:21 2009] [notice] Apache/2.2.11 (Ubuntu) PHP/5.2.
[Fri May 01 22:35:25 2009] [error] [client 127.0.0.1] File does not exist: /var/www/aaa
I'm also attaching /etc/apache2/ sites-avaible/ default file. I haven't modified the apache2.conf file.