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: mod_status & mod_rewrite don't work good together?
Author
dke



Joined: 13 Jul 2007
Posts: 61
Location: sweden

PostPosted: Fri 08 Feb '08 19:42    Post subject: mod_status & mod_rewrite don't work good together? Reply with quote

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: 7298
Location: Germany, Next to Hamburg

PostPosted: Mon 11 Feb '08 10:43    Post subject: Reply with quote

You can disable mod_rewrite for one folder

Code:

RewriteCond %{REQUEST_URI} !^/server-status [NC]


Not tested, but it should work.
Back to top


Reply to topic   Topic: mod_status & mod_rewrite don't work good together? View previous topic :: View next topic
Post new topic   Forum Index -> Apache