URL attempted: /index.php
File index.php exists: YES
Rewrite rules:
# In case we need to debug at a later date,
# uncomment the following two lines:
RewriteLog logs/rewrite.site5.log
RewriteLogLevel 9
# Yes, it likely is on from the site configuration,
# but better safe than sorry.
RewriteEngine on
#
# There appears to currently be no way to nest conditions,
# thus there are several rules that appear each time.
#
# We do not want to rewrite the request if it is:
# 1) part of a subrequest,
RewriteCond %{IS_SUBREQ} false
# 2) points to an existing directory or file on the site.
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
# 3) points to the pathing used by the admin or siteadmin features of the site,
RewriteCond %{REQUEST_URI} !^/admin
RewriteCond %{REQUEST_URI} !^/login
RewriteCond %{REQUEST_URI} !^/personal
RewriteCond %{REQUEST_URI} !^/siteadmin
# 4) points to the pathing used by the error features of the site,
RewriteCond %{REQUEST_URI} !^/error
RewriteCond %{REQUEST_URI} !^/libImage
# 5) points to the pathing used by the stats features of the site,
RewriteCond %{REQUEST_URI} !^/awstats
# 6) points to the forums or webadmin directories for the site, or
RewriteCond %{REQUEST_URI} !^/forums
RewriteCond %{REQUEST_URI} !^/webadmin
# If it contains keyword/something,
# rewrite /team/keyword/something to /forums/something
# and do nothing else.
RewriteCond %{REQUEST_URI} /(bulletin|chat|forum|news|talk|tickets|trade)/.+$
RewriteRule /([^/]+)/(bulletin|chat|forum|news|talk|tickets|trade)/(.+)$ /forums/$3 [L]
# We do not want to rewrite the request if it is:
# 1) part of a subrequest,
RewriteCond %{IS_SUBREQ} false
# 2) points to an existing directory or file on the site.
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
# 3) points to the pathing used by the admin or siteadmin features of the site,
RewriteCond %{REQUEST_URI} !^/admin
RewriteCond %{REQUEST_URI} !^/login
RewriteCond %{REQUEST_URI} !^/personal
RewriteCond %{REQUEST_URI} !^/siteadmin
# 4) points to the pathing used by the error features of the site,
RewriteCond %{REQUEST_URI} !^/error
RewriteCond %{REQUEST_URI} !^/libImage
# 5) points to the pathing used by the stats features of the site,
RewriteCond %{REQUEST_URI} !^/awstats
# 6) points to the forums or webadmin directories for the site, or
RewriteCond %{REQUEST_URI} !^/forums
RewriteCond %{REQUEST_URI} !^/webadmin
# If it contains keyword/ ,
# rewrite /team/keyword/ to forums/translate/team/keyword
# and do nothing else.
RewriteCond %{REQUEST_URI} /(bulletin|chat|forum|news|talk|tickets|trade)/?$
RewriteRule /([^/]+)/((bulletin|chat|forum|news|talk|tickets|trade)/?)$ /forums/translate/$1/$2 [L]
# We do not want to rewrite the request if it is:
# 1) part of a subrequest,
RewriteCond %{IS_SUBREQ} false
# 2) points to an existing directory or file on the site.
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
# 3) points to the pathing used by the admin or siteadmin features of the site,
RewriteCond %{REQUEST_URI} !^/admin
RewriteCond %{REQUEST_URI} !^/login
RewriteCond %{REQUEST_URI} !^/personal
RewriteCond %{REQUEST_URI} !^/siteadmin
# 4) points to the pathing used by the error features of the site,
RewriteCond %{REQUEST_URI} !^/error
RewriteCond %{REQUEST_URI} !^/libImage
# 5) points to the pathing used by the stats features of the site,
RewriteCond %{REQUEST_URI} !^/awstats
# 6) points to the forums or webadmin directories for the site, or
RewriteCond %{REQUEST_URI} !^/forums
RewriteCond %{REQUEST_URI} !^/webadmin
# If it does not contain /forums/translate/ ,
# rewrite from /whatever to /forums/translate/whatever
# to let /forums/translate.php deal with the content,
# and do nothing else.
RewriteRule /(.*)$ /forums/translate/$1 [L]
Rewrite Log entries:
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (2) init rewrite engine with requested uri /index.php
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (3) applying pattern '^/(.*)' to uri '/index.php'
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='testbed' pattern='!^192.168.60.43(:80)?$' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='testbed' pattern='!^testbed(:80)?$' => not-matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (3) applying pattern '/([^/]+)/(bulletin|chat|forum|news|talk|tickets|trade)/(.+)$' to uri '/index.php'
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (3) applying pattern '/([^/]+)/((bulletin|chat|forum|news|talk|tickets|trade)/?)$' to uri '/index.php'
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (3) applying pattern '/(.*)$' to uri '/index.php'
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='false' pattern='false' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!-d' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!-f' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!^/admin' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!^/login' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!^/personal' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!^/siteadmin' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!^/error' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!^/libImage' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!^/awstats' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!^/forums' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!^/webadmin' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (4) RewriteCond: input='/index.php' pattern='!-f' => matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (2) rewrite /index.php -> /forums/translate/index.php
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (2) local path result: /forums/translate/index.php
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (2) prefixed with document_root to /home/.sites/33/site5/web/forums/translate/index.php
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f71398/initial] (1) go-ahead with /home/.sites/33/site5/web/forums/translate/index.php [OK]
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f7b3c0/subreq] (2) init rewrite engine with requested uri /index.php
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f7b3c0/subreq] (3) applying pattern '/([^/]+)/(bulletin|chat|forum|news|talk|tickets|trade)/(.+)$' to uri '/index.php'
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f7b3c0/subreq] (3) applying pattern '/([^/]+)/((bulletin|chat|forum|news|talk|tickets|trade)/?)$' to uri '/index.php'
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f7b3c0/subreq] (3) applying pattern '/(.*)$' to uri '/index.php'
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f7b3c0/subreq] (4) RewriteCond: input='true' pattern='false' => not-matched
192.168.60.34 - - [07/Feb/2007:18:32:05 --0600] [testbed/sid#87a2b80][rid#8f7b3c0/subreq] (1) pass through /index.php