Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.htaccess Kohana和OpenX_.htaccess_Kohana_Openx - Fatal编程技术网

.htaccess Kohana和OpenX

.htaccess Kohana和OpenX,.htaccess,kohana,openx,.htaccess,Kohana,Openx,我正在尝试在我使用Kohana的网站上安装OpenX。它工作正常,直到我发现这个错误: 致命错误:未捕获 Kohana_请求_异常[0]:无法 要查找与URI匹配的路由,请执行以下操作: 500.shtml~SYSPATH/classes/kohana/request.php[ 635]投入 /home/xxxxxx/public_html/plugb/system/classes/kohana/request.php 在线635 网址是: 我目前的.htaccess是: # Turn on

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

致命错误:未捕获 Kohana_请求_异常[0]:无法 要查找与URI匹配的路由,请执行以下操作: 500.shtml~SYSPATH/classes/kohana/request.php[ 635]投入 /home/xxxxxx/public_html/plugb/system/classes/kohana/request.php 在线635

网址是:

我目前的.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 /
#启用URL重写
重新启动发动机
#安装目录
重写基/
#万维网
重写cond%{HTTP_HOST}^www\.plugb\.com[NC]
重写规则^(.*)$http://www.plugb.com/$1[R=301,L]
#删除尾部斜线
重写cond%{HTTP_HOST}!^\。plugb\.com$[NC]
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则^(+)/$http://%{http_HOST}/$1[R=301,L]
#保护隐藏文件不被查看
命令拒绝,允许
全盘否定
#保护应用程序和系统文件不被查看
重写规则^(?:应用程序|模块|系统)\b.*index.php/$0[L]
#允许直接显示现有的任何文件或目录
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
#将所有其他URL重写为index.php/URL
重写规则。*index.php/$0[PT,L]
重定向301/gamesindex/
为什么我会犯这个错误?我怎样才能修好它

谢谢,,
Gabriel。

该错误在24小时后停止出现。

该错误表明您遇到了另一个内部服务器错误(服务器试图生成500错误响应,但请求被Kohana路由处理程序捕获,因为
错误文档
实际上不存在)。因此,要完全修复此问题,还需要解决内部服务器错误。服务器的错误日志显示了什么?[23-Aug-2010 20:21:40]PHP致命错误:未捕获的Kohana_请求_异常[0]:无法找到与URI匹配的路由:500.shtml~SYSPATH/classes/Kohana/Request.PHP[635]在第635行抛出/home/bianconi/public_html/plugb/system/classes/Kohana/Request.PHP[23-Aug-2010 21:05:21]PHP致命错误:未捕获的Kohana_请求_异常[0]:无法找到与第635行和其他类似行中抛出的/home/bianconi/public_html/plugb/system/classes/Kohana/Request.PHP中的URI:403.shtml~SYSPATH/classes/Kohana/Request.PHP[635]匹配的路由。但是Apache的错误日志呢?这似乎是PHP的。