2

我将 Phorum 设置为在我的本地服务器(Ubuntu Jaunty)上使用搜索引擎友好的 URL。它工作得很好。将站点移动到生产服务器 (Gentoo) 后,我得到 404 未找到所有页面。下面的 mod_rewrite 日志显示了该问题。

两种安装都使用相同的规则:

RewriteEngine On

# READ RULES
RewriteRule ^([0-9]*)/([0-9]*)/([0-9]*)/([0-9a-zA-Z\-_=]*)/(.*)$ read.php?$1,$2,$3,$4
RewriteRule ^([0-9]*)/([0-9]*)/([0-9]*)/(.*)$ read.php?$1,$2,$3

RewriteRule ^([0-9]*)/([0-9]*)/([0-9a-zA-Z\-_=]*)/(.*)$ read.php?$1,$2,$3
RewriteRule ^([0-9]*)/([0-9]*)/(.*)$ read.php?$1,$2
RewriteRule ^([0-9]*)/([0-9]*)$ read.php?$1,$2

# DEFAULT RULES
RewriteRule ^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)$ $1.php?$2,$3,$4,$5
RewriteRule ^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)$ $1.php?$2,$3,$4
RewriteRule ^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-/:\.?]*)$ $1.php?$2,$3
RewriteRule ^([a-z]*)/([0-9]*)$ $1.php?$2
RewriteRule ^([a-z]+)$ $1.php

在我的本地服务器上,重写规则的行为正确:

88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (2) init rewrite engine with requested uri /forums/list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (1) pass through /forums/list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] add path info postfix: /var/www/mydomain/web/forums/list -> /var/www/mydomain/web/forums/list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list/3 -> list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/([0-9]*)/([0-9a-zA-Z\-_=]*)/(.*)$' to uri 'list/3'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] add path info postfix: /var/www/mydomain/web/forums/list -> /var/www/mydomain/web/forums/list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list/3 -> list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/([0-9]*)/(.*)$' to uri 'list/3'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] add path info postfix: /var/www/mydomain/web/forums/list -> /var/www/mydomain/web/forums/list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list/3 -> list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/([0-9a-zA-Z\-_=]*)/(.*)$' to uri 'list/3'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] add path info postfix: /var/www/mydomain/web/forums/list -> /var/www/mydomain/web/forums/list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list/3 -> list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/(.*)$' to uri 'list/3'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] add path info postfix: /var/www/mydomain/web/forums/list -> /var/www/mydomain/web/forums/list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list/3 -> list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([0-9]*)/([0-9]*)$' to uri 'list/3'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] add path info postfix: /var/www/mydomain/web/forums/list -> /var/www/mydomain/web/forums/list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list/3 -> list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)$' to uri 'list/3'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] add path info postfix: /var/www/mydomain/web/forums/list -> /var/www/mydomain/web/forums/list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list/3 -> list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)$' to uri 'list/3'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] add path info postfix: /var/www/mydomain/web/forums/list -> /var/www/mydomain/web/forums/list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list/3 -> list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-/:\.?]*)$' to uri 'list/3'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] add path info postfix: /var/www/mydomain/web/forums/list -> /var/www/mydomain/web/forums/list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list/3 -> list/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([a-z]*)/([0-9]*)$' to uri 'list/3'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (2) [perdir /var/www/mydomain/web/forums/] rewrite 'list/3' -> 'list.php?3'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) split uri=list.php?3 -> uri=list.php, args=3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] add per-dir prefix: list.php -> /var/www/mydomain/web/forums/list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] add path info postfix: /var/www/mydomain/web/forums/list.php -> /var/www/mydomain/web/forums/list.php/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list.php/3 -> list.php/3
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([a-z]+)$' to uri 'list.php/3'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (2) [perdir /var/www/mydomain/web/forums/] strip document_root prefix: /var/www/mydomain/web/forums/list.php -> /forums/list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b8395ae8/initial] (1) [perdir /var/www/mydomain/web/forums/] internal redirect with /forums/list.php [INTERNAL REDIRECT]
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (2) init rewrite engine with requested uri /forums/list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (1) pass through /forums/list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list.php -> list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/([0-9]*)/([0-9a-zA-Z\-_=]*)/(.*)$' to uri 'list.php'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list.php -> list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/([0-9]*)/(.*)$' to uri 'list.php'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list.php -> list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/([0-9a-zA-Z\-_=]*)/(.*)$' to uri 'list.php'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list.php -> list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/(.*)$' to uri 'list.php'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list.php -> list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([0-9]*)/([0-9]*)$' to uri 'list.php'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list.php -> list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)$' to uri 'list.php'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list.php -> list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)$' to uri 'list.php'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list.php -> list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-/:\.?]*)$' to uri 'list.php'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list.php -> list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([a-z]*)/([0-9]*)$' to uri 'list.php'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] strip per-dir prefix: /var/www/mydomain/web/forums/list.php -> list.php
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (3) [perdir /var/www/mydomain/web/forums/] applying pattern '^([a-z]+)$' to uri 'list.php'
88.88.88.8 - - [09/Jun/2009:11:32:49 +0100] [home.mapledesign.co.uk/sid#b81b3280][rid#b83aa3e8/initial/redir#1] (1) [perdir /var/www/mydomain/web/forums/] pass through /var/www/mydomain/web/forums/list.php

在我的生产服务器上突然出现一个文件扩展名 - 好像文件系统路径已被解析:

88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18c3188/initial] (2) init rewrite engine with requested uri /forums/list/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18c3188/initial] (1) pass through /forums/list/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] add path info postfix: /var/www/mydomain.co.uk/web/forums/list.php -> /var/www/mydomain.co.uk/web/forums/list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] strip per-dir prefix: /var/www/mydomain.co.uk/web/forums/list.php/3 -> list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/([0-9]*)/([0-9a-zA-Z\-_=]*)/(.*)$' to uri 'list.php/3'
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] add path info postfix: /var/www/mydomain.co.uk/web/forums/list.php -> /var/www/mydomain.co.uk/web/forums/list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] strip per-dir prefix: /var/www/mydomain.co.uk/web/forums/list.php/3 -> list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/([0-9]*)/(.*)$' to uri 'list.php/3'
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] add path info postfix: /var/www/mydomain.co.uk/web/forums/list.php -> /var/www/mydomain.co.uk/web/forums/list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] strip per-dir prefix: /var/www/mydomain.co.uk/web/forums/list.php/3 -> list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/([0-9a-zA-Z\-_=]*)/(.*)$' to uri 'list.php/3'
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] add path info postfix: /var/www/mydomain.co.uk/web/forums/list.php -> /var/www/mydomain.co.uk/web/forums/list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] strip per-dir prefix: /var/www/mydomain.co.uk/web/forums/list.php/3 -> list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] applying pattern '^([0-9]*)/([0-9]*)/(.*)$' to uri 'list.php/3'
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] add path info postfix: /var/www/mydomain.co.uk/web/forums/list.php -> /var/www/mydomain.co.uk/web/forums/list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] strip per-dir prefix: /var/www/mydomain.co.uk/web/forums/list.php/3 -> list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] applying pattern '^([0-9]*)/([0-9]*)$' to uri 'list.php/3'
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] add path info postfix: /var/www/mydomain.co.uk/web/forums/list.php -> /var/www/mydomain.co.uk/web/forums/list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] strip per-dir prefix: /var/www/mydomain.co.uk/web/forums/list.php/3 -> list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] applying pattern '^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)$' to uri 'list.php/3'
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] add path info postfix: /var/www/mydomain.co.uk/web/forums/list.php -> /var/www/mydomain.co.uk/web/forums/list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] strip per-dir prefix: /var/www/mydomain.co.uk/web/forums/list.php/3 -> list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] applying pattern '^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-]*)/([0-9a-zA-Z=_\-]*)$' to uri 'list.php/3'
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] add path info postfix: /var/www/mydomain.co.uk/web/forums/list.php -> /var/www/mydomain.co.uk/web/forums/list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] strip per-dir prefix: /var/www/mydomain.co.uk/web/forums/list.php/3 -> list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] applying pattern '^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-/:\.?]*)$' to uri 'list.php/3'
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] add path info postfix: /var/www/mydomain.co.uk/web/forums/list.php -> /var/www/mydomain.co.uk/web/forums/list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] strip per-dir prefix: /var/www/mydomain.co.uk/web/forums/list.php/3 -> list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] applying pattern '^([a-z]*)/([0-9]*)$' to uri 'list.php/3'
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] add path info postfix: /var/www/mydomain.co.uk/web/forums/list.php -> /var/www/mydomain.co.uk/web/forums/list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] strip per-dir prefix: /var/www/mydomain.co.uk/web/forums/list.php/3 -> list.php/3
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (3) [perdir /var/www/mydomain.co.uk/web/forums/] applying pattern '^([a-z]+)$' to uri 'list.php/3'
88.88.88.8 - - [09/Jun/2009:12:08:21 +0100] [www.mydomain.co.uk/sid#a6b718][rid#18adf78/subreq] (1) [perdir /var/www/mydomain.co.uk/web/forums/] pass through /var/www/mydomain.co.uk/web/forums/list.php

我错过了什么?谢谢!

4

1 回答 1

16

MultiViews可能会导致此行为。尝试禁用它:

Options -MultiViews
于 2009-06-09T11:41:44.660 回答