Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

mod_rewrite + mod_status

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


ricardoogrande at gmail

Nov 17, 2009, 4:43 AM

Post #1 of 3 (342 views)
Permalink
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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


covener at gmail

Nov 17, 2009, 4:55 AM

Post #2 of 3 (329 views)
Permalink
Re: mod_rewrite + mod_status [In reply to]

On Tue, Nov 17, 2009 at 7:43 AM, ricardo13 <ricardoogrande [at] gmail> 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 [at] gmail

---------------------------------------------------------------------
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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


ricardoogrande at gmail

Nov 17, 2009, 6:23 AM

Post #3 of 3 (322 views)
Permalink
Re: mod_rewrite + mod_status [In reply to]

Thank you

Ricardo

On Tue, Nov 17, 2009 at 10:55 AM, Eric Covener <covener [at] gmail> wrote:

> On Tue, Nov 17, 2009 at 7:43 AM, ricardo13 <ricardoogrande [at] gmail>
> 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 [at] gmail
>
> ---------------------------------------------------------------------
> 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 [at] httpd
> " from the digest: users-digest-unsubscribe [at] httpd
> For additional commands, e-mail: users-help [at] httpd
>
>


--
Muito Obrigado

Ricardo

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.