On 08/03/07, Israel Brewster <israel@xxxxxxxxxxxxxxxxxx> wrote:
Looking at the rewrite log shows the following entries: xxx.xxx.xxx.xxx - - [07/Mar/2007:08:28:03 -0900] [izzy.homeip.net/ sid#1802648][rid#1838c38/initial] (2) init rewrite engine with requested uri /nagios xxx.xxx.xxx.xxx - - [07/Mar/2007:08:28:03 -0900] [izzy.homeip.net/ sid#1802648][rid#1838c38/initial] (1) pass through /nagios xxx.xxx.xxx.xxx - - [07/Mar/2007:08:28:03 -0900] [izzy.homeip.net/ sid#1802648][rid#1838c38/initial] (2) [per-dir /WebServer/Documents/] rewrite nagios -> index.php?/categories/8-Nagios xxx.xxx.xxx.xxx - - [07/Mar/2007:08:28:03 -0900] [izzy.homeip.net/ sid#1802648][rid#1838c38/initial] (2) [per-dir /WebServer/Documents/] trying to replace prefix /WebServer/Documents/ with / xxx.xxx.xxx.xxx - - [07/Mar/2007:08:28:03 -0900] [izzy.homeip.net/ sid#1802648][rid#1838c38/initial] (1) [per-dir /WebServer/Documents/] internal redirect with /index.php [INTERNAL REDIRECT]
Hi, welcome to rewrite-in-htaccess pain and suffering. As you're able to use RewriteLog, why put rewrite rules in htaccess? I expect this error will go away if you do because.. It would appear that your rule is having the desired effect of rewriting http://example.com/nagios to http://example.com/index.php?/categories/8-Nagios however, don't count on [L] stopping the rest of your rules from running. Because this is in a htaccess file, a subrequest is used to figure out if rewriting is done yet. I'm not exactly sure why, and I could be totally wrong, but see what your complete ruleset would do with the original request. Otherwise (as suggested by rbowen) try adding PT to your flags to mitigate RewriteBase confusion. -- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx