You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ricardo13 <ri...@gmail.com> on 2009/11/17 13:43:43 UTC

[users@httpd] mod_rewrite + mod_status

hi,

I have a problem.
I'm using mod_rewrite and mod_status.

mod_status is configured this way.
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from .your_domain.com
</Location>

When I acess http://localhost/server-status I don't see the page because
mod_rewrite don't allow.

mod_rewrite is configured this way:
<IfModule rewrite_module>
     RewriteEngine On
     RewriteMap prgmap prg:/usr/local/apache/program
     
     Rewrite ^(.*) balancer:/${prgmap:$1} [P]
</IfModule>

How do I do mod_rewrite doesn't analyze URI like as /server-status ???

Ricardo
-- 
View this message in context: http://old.nabble.com/mod_rewrite-%2B-mod_status-tp26389278p26389278.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_rewrite + mod_status

Posted by ricardo figueiredo <ri...@gmail.com>.
Thank you

Ricardo

On Tue, Nov 17, 2009 at 10:55 AM, Eric Covener <co...@gmail.com> wrote:

> On Tue, Nov 17, 2009 at 7:43 AM, ricardo13 <ri...@gmail.com>
> wrote:
> >
> > hi,
> >
> > I have a problem.
> > I'm using mod_rewrite and mod_status.
> >
> > mod_status is configured this way.
> > <Location /server-status>
> >    SetHandler server-status
> >    Order deny,allow
> >    Deny from all
> >    Allow from .your_domain.com
> > </Location>
> >
> > When I acess http://localhost/server-status I don't see the page because
> > mod_rewrite don't allow.
> >
> > mod_rewrite is configured this way:
> > <IfModule rewrite_module>
> >     RewriteEngine On
> >     RewriteMap prgmap prg:/usr/local/apache/program
> >
> >     Rewrite ^(.*) balancer:/${prgmap:$1} [P]
> > </IfModule>
> >
>
> Precede with RewriteCond %{REQUEST_URI} !=/server-status
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Muito Obrigado

Ricardo

Re: [users@httpd] mod_rewrite + mod_status

Posted by Eric Covener <co...@gmail.com>.
On Tue, Nov 17, 2009 at 7:43 AM, ricardo13 <ri...@gmail.com> wrote:
>
> hi,
>
> I have a problem.
> I'm using mod_rewrite and mod_status.
>
> mod_status is configured this way.
> <Location /server-status>
>    SetHandler server-status
>    Order deny,allow
>    Deny from all
>    Allow from .your_domain.com
> </Location>
>
> When I acess http://localhost/server-status I don't see the page because
> mod_rewrite don't allow.
>
> mod_rewrite is configured this way:
> <IfModule rewrite_module>
>     RewriteEngine On
>     RewriteMap prgmap prg:/usr/local/apache/program
>
>     Rewrite ^(.*) balancer:/${prgmap:$1} [P]
> </IfModule>
>

Precede with RewriteCond %{REQUEST_URI} !=/server-status
-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org