我正在尝试在使用 Kohana 的网站中安装 OpenX。它工作得很好,直到我发现这个错误:
致命错误:未捕获的 Kohana_Request_Exception [0]:无法找到与 URI 匹配的路由:500.shtml ~ SYSPATH/classes/kohana/request.php [635] 在 /home/xxxxxx/public_html/plugb/system/classes/ 中抛出第 635 行的 kohana/request.php
我当前的 .htaccess 是:
# Turn on URL rewriting
RewriteEngine On
# Installation directory
RewriteBase /
# WWW
RewriteCond %{HTTP_HOST} !^www\.plugb\.com [NC]
RewriteRule ^(.*)$ http://www.plugb.com/$1 [R=301,L]
#remove trailing slashes
RewriteCond %{HTTP_HOST} !^\.plugb\.com$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]
# Protect hidden files from being viewed
<Files .*>
Order Deny,Allow
Deny From All
</Files>
# Protect application and system files from being viewed
RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT,L]
Redirect 301 /gamesindex /
为什么我会收到此错误?我该如何解决?
谢谢你,加布里埃尔。