Home » Source Code » An Apache module to forbid access to to the mod_status server-status handler.

An Apache module to forbid access to to the mod_status server-status handler.

danny
2016-05-18 13:14:23
The author
View(s):
Download(s): 0
Point (s): 1 
Category Category:
AllAll

Description

mod_antistatus is a very simple module for the Apache HTTP Server (2.2.x) that prevents access to the server-status handler provided by mod_status. If a request is for the server-status handler, an HTTP 403 forbidden is returned. The module has no configuration and incurs a subrequest lookup per request

Why?

Certain apache modules require mod_status. However, in a shared hosting environment with permissive htaccess directive allowance, users can define Locations in htaccess files with SetHandler server-status and see status results for the global server.

Note:

Because of the subrequest lookup, mod_antistatus may impact performance on the HTTP server. It is only necessary on a multi-user HTTP server; a server with trusted configuration can simply not define any locations with the server-status handler.

Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
Sponsored links

Comments

(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words
  • 1
  • Page 1
  • Total 1

An Apache module to forbid access to to the mod_status server-status handler. (2.80 kB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D