httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Israel Brewster <isr...@frontierflying.com>
Subject Re: [users@httpd] mod_rewrite problem
Date Wed, 07 Mar 2007 22:03:07 GMT
> [snip] In this case, ^nagios never
> matches because the per-directory prefix isn't stripped. ^/nagios is
> what you need, in addition to simillar changes for the rest of your
> rules.

Ok, yeah- that made the rewrite rules start matching when in the  
httpd.conf file, unfortunately the behavior I'm getting with that  
particular rule is the same. Maybe it's time to consider a different  
approach entirely.

> This annoyance aside, putting rewrite rules in server context has
> other advantages, mainly increased speed (regexen are compiled once at
> startup and the uri->filepath translation stage can be skipped) but
> also decreased confusion; rewrite in htaccess involves extra steps
> beyond what seems reasonable to figure out the resulting url.
>
>
> -- 
> noodl
>
> ---------------------------------------------------------------------
> 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


---------------------------------------------------------------------
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


Mime
View raw message