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 -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Mod_status
Author
bitazar



Joined: 02 May 2007
Posts: 22

PostPosted: Sun 20 May '07 23:34    Post subject: Mod_status Reply with quote

i installed mod_status by adding to conf :

LoadModule status_module modules/mod_status.so

<Location \server-status>
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Location>

but i can not see the results ,i also looked at htdocs but nothing found ,apache runs without any error ,so what happened ?

how can i see the result
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Mon 21 May '07 5:58    Post subject: Reply with quote

You should use forward slashes / , not backslashes \ , in httpd.conf.
Code:
<Location /server-status>


-tom-
Back to top
bitazar



Joined: 02 May 2007
Posts: 22

PostPosted: Mon 21 May '07 11:09    Post subject: Reply with quote

I also changed it into
<Location /server-status>
but i can't see the result
Back to top
James Blond
Moderator


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

PostPosted: Mon 21 May '07 15:00    Post subject: Reply with quote

Is there anything about that in your error log?
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Mon 21 May '07 15:28    Post subject: Reply with quote

If you request :
    http://127.0.0.1/server-status
in a browser running on the same machine as Apache, do you see anything at all?
A blank screen? An error message?

After you try to view the status in your browser - is there any entry in your \logs\access.log file which looks like this?
Quote:
127.0.0.1 - - [21/May/2007:09:17:05 -0400] "GET /server-status HTTP/1.1" 200 5084

-tom-
Back to top
bitazar



Joined: 02 May 2007
Posts: 22

PostPosted: Mon 21 May '07 22:19    Post subject: Mod_status Reply with quote

thanx for reply i can't see http://127.0.0.1/server-status ,it says access forbiden but when i open the folder server-status nothing there, but in log file you noticed there are lines as you wrote

Quote:
GET /server-status HTTP/1.1" 403
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Mon 21 May '07 23:11    Post subject: Reply with quote

Try temporarily changing the Allow directive to:
Code:
Allow from all
to see if this eliminates the 403 error.

If this fixes the problem, then Apache is not recognizing your browser as IP address 127.0.0.1.

You could try adding your browser's real IP address. For example, if your IP address is 192.168.0.3, try:
Code:
Allow from 127.0.0.1 192.168.0.3

You can look in \logs\access.log to see what address Apache thinks your browser is.
Back to top
bitazar



Joined: 02 May 2007
Posts: 22

PostPosted: Tue 22 May '07 21:34    Post subject: Reply with quote

I did it but it says

Quote:
GET /server-status HTTP/1.1"@, 403@,
Back to top


Reply to topic   Topic: Mod_status View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules