Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: server-status denied by server configuration |
|
Author |
|
dquick
Joined: 08 Jun 2014 Posts: 2 Location: Australia, Geelong
|
Posted: Sun 08 Jun '14 8:27 Post subject: server-status denied by server configuration |
|
|
Hi All,
I have Apache 2.2.26 running on OS X 10.9.3.
My situation is that I consistently get an error that client denied by server configuration when accessing /server-status. The errors I get can be seen here:
Code: | dlq$ wget http://imac.home.local/server-status
--2014-06-08 15:48:52-- http://imac.home.local/server-status
Resolving imac.home.local... 192.168.1.9
Connecting to imac.home.local|192.168.1.9|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2014-06-08 15:48:52 ERROR 403: Forbidden. |
error_log:
Code: | [Sun Jun 08 15:48:52 2014] [error] [client 192.168.1.9] client denied by server configuration: /www/Documents/server-status |
access_log:
Code: | imac.home.local - - [08/Jun/2014:15:48:52 +1000] "GET /server-status HTTP/1.1" 403 215 |
I have a pasted the key parts of my httpd-conf file here:
http://apaste.info/CTJ
So far I have confirmed;
1/ server-status module is loaded.
2/ A location block is included to display server-status.
3/ I have tried less restrictive commands - Allow from all
Permissions in physical root directory /www/Documents/ are;
drwxr-xr-x+ 52 _www staff 1768 7 Jun 19:20 Documents/
I have looked through this forum and a number of others and cannot find any clues on what is wrong with my configuration.
Any thoughts on what to check or try greatly appreciated
Regards
Damien |
|
Back to top |
|
dquick
Joined: 08 Jun 2014 Posts: 2 Location: Australia, Geelong
|
Posted: Sun 08 Jun '14 10:48 Post subject: server-status denied by server configuration |
|
|
Hi All,
I finally worked out what I was doing wrong!
It seems the process of cutting down my https-conf file to post bits of it here highlighted the problem to me. Must have been staring at it for too long!
I discovered an unmatched <IfModule> directive at line 100, which was preventing everything after it parsing correctly. Removing this line fixed the problem.
Thanks
Damien |
|
Back to top |
|
|
|
|
|
|