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: mod_status & mod_rewrite don't work good together? |
|
Author |
|
dke
Joined: 13 Jul 2007 Posts: 61 Location: sweden
|
Posted: Fri 08 Feb '08 19:42 Post subject: mod_status & mod_rewrite don't work good together? |
|
|
Hello,
I've started to use mod_rewrite for some stuff and it works great. However it broke my mod_status configuration.
I had it setup quiet default like this:
Code: |
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from 192.168.0
</Location> |
But now when i try to access i get 404. Code: | 192.168.0.2 - - [08/Feb/2008:18:50:22 +0100] "GET /server-status/ HTTP/1.1" 404 212 |
Im using latest apache build from apachelounge.
Anyone able to help me? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 11 Feb '08 10:43 Post subject: |
|
|
You can disable mod_rewrite for one folder
Code: |
RewriteCond %{REQUEST_URI} !^/server-status [NC]
|
Not tested, but it should work. |
|
Back to top |
|
|
|
|
|
|