Kohana和OpenX

时间:2010-08-23 20:18:55

标签: .htaccess kohana openx

我正在尝试在我使用Kohana的网站上安装OpenX。它工作正常,直到我发现此错误:

  

致命错误:未捕获   Kohana_Request_Exception [0]:无法使用   找到匹配URI的路由:   500.shtml~SYSPATH / classes / kohana / request.php [   635]投入   /home/xxxxxx/public_html/plugb/system/classes/kohana/request.php   在第635行

网址是: http://www.plugb.com/openx/www/admin/plugins/oxMarket/market-campaign-edit.php?clientid=1&campaignid=

我目前的.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 /

为什么我收到此错误?我该如何解决?

谢谢你, 加布里埃尔。

1 个答案:

答案 0 :(得分:0)

此错误在24小时后停止显示。