logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Permissions and server-status ?
Author
edwardsmarkf



Joined: 20 Feb 2013
Posts: 25
Location: cottonwood, az

PostPosted: Mon 24 Mar '14 23:57    Post subject: Permissions and server-status ? Reply with quote

hello all-

i am trying to get server-status to display. when i have the following set:

<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from .myServer.com
</Location>

i get this message:

Forbidden

You don't have permission to access /server-status on this server.


but when i change it to look like this:

<Location /server-status>
SetHandler server-status
###Order deny,allow
###Deny from all
Allow from .myServer.com
</Location>

it works fine. can anybody help me understand why the first option might not be working?

thank you!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 25 Mar '14 17:48    Post subject: Reply with quote

Which apache version do you use?
Back to top
edwardsmarkf



Joined: 20 Feb 2013
Posts: 25
Location: cottonwood, az

PostPosted: Thu 27 Mar '14 21:22    Post subject: Reply with quote

Server version: Apache/2.2.15 (Unix)
Server built: Aug 25 2013 11:27:22
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Fri 28 Mar '14 17:02    Post subject: Reply with quote

Code:

<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 192.168.50.1
</Location>


For 192.168.50.1 use the IP adress you have or as a range 192.168
Back to top


Reply to topic   Topic: Permissions and server-status ? View previous topic :: View next topic
Post new topic   Forum Index -> Apache