Codeigniter pyrocms页面抛出错误500

Codeigniter pyrocms页面抛出错误500,codeigniter,.htaccess,pyrocms,Codeigniter,.htaccess,Pyrocms,我在godaddy的客户服务器上安装了pyrocms,godaddy是它的常规主机,他有多个链接到文件夹的域。 当我导航到该网站时,主页会正确打开,指向其他页面的链接(如联系人页面)链接错误,我有 而不是 我还使用pyrocms附带的默认.htaccess文件 # Multiple Environment config # Set this to development, staging or production # SetEnv PYRO_ENV production <IfMo

我在godaddy的客户服务器上安装了pyrocms,godaddy是它的常规主机,他有多个链接到文件夹的域。 当我导航到该网站时,主页会正确打开,指向其他页面的链接(如联系人页面)链接错误,我有

而不是

我还使用pyrocms附带的默认.htaccess文件

# Multiple Environment config
# Set this to development, staging or production
# SetEnv PYRO_ENV production

<IfModule mod_rewrite.c>

    # Make sure directory listing is disabled
    Options +FollowSymLinks -Indexes
    # disable the Apache MultiViews directive if it is enabled on the server. It plays havoc with URL rewriting
    Options -MultiViews
    RewriteEngine on

    # Automatically determine and set the PYRO_ENV variable
  #RewriteCond %{HTTP_HOST} ^local.domain.com$
  #RewriteRule (.*) $1 [E=PYRO_ENV:development]

  #RewriteCond %{HTTP_HOST} ^stage.domain.com$
  #RewriteRule (.*) $1 [E=PYRO_ENV:staging]

  #RewriteCond %{HTTP_HOST} ^domain.com$
  #RewriteRule (.*) $1 [E=PYRO_ENV:production]

    # NOTICE: If you get a 404 play with combinations of the following commented out lines
    #AllowOverride All
    #RewriteBase /wherever/pyro/is

    # Restrict your site to only one domain
    # !important USE ONLY ONE OPTION

    # Option 1: To rewrite "www.domain.com -> domain.com" uncomment the following lines.
    #RewriteCond %{HTTPS} !=on
    #RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    #RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

    # Option 2: To rewrite "domain.com -> www.domain.com" uncomment the following lines.
    #RewriteCond %{HTTPS} !=on
    #RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
    #RewriteCond %{HTTP_HOST} (.+)$ [NC]
    #RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]

    # Keep people out of codeigniter directory and Git/Mercurial data
    RedirectMatch 403 ^/.*/(system/cms/cache|system/codeigniter|system/cms/config|system/cms/logs|\.git|\.hg).*$

    # Send request via index.php (again, not if its a real file or folder)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    <IfModule mod_php5.c>
        RewriteRule ^(.*)$ index.php/$1 [L]
    </IfModule>

    <IfModule !mod_php5.c>
        RewriteRule ^(.*)$ index.php?/$1 [L]
    </IfModule>

</IfModule>
#多环境配置
#将此设置为“开发”、“暂存”或“生产”
#SetEnv PYRO_环境生产
#确保目录列表已禁用
选项+FollowSymLinks-索引
#如果在服务器上启用了Apache MultiView指令,请禁用该指令。它会破坏URL重写
选项-多视图
重新启动发动机
#自动确定并设置PYRO_ENV变量
#重写cond%{HTTP_HOST}^local.domain.com$
#重写规则(.*)$1[E=PYRO_环境:开发]
#重写cond%{HTTP_HOST}^stage.domain.com$
#重写规则(.*)$1[E=PYRO_ENV:staging]
#重写cond%{HTTP_HOST}^domain.com$
#重写规则(.*)$1[E=PYRO_环境:生产]
#注意:如果你得到一个404播放与以下注释线的组合
#允许超越所有
#重写base/where/pyro/is
#将您的站点仅限于一个域
# !重要信息:仅使用一个选项
#选项1:要重写“www.domain.com->domain.com”,请取消对以下行的注释。
#重写cond%{HTTPS}=在…上
#重写cond%{HTTP_HOST}^www\.(.+)$[NC]
#重写规则^(.*)$http://%1/$1[R=301,L]
#选项2:要重写“domain.com->www.domain.com”,请取消对以下行的注释。
#重写cond%{HTTPS}=在…上
#重写cond%{HTTP_HOST}^www\..+$[NC]
#重写cond%{HTTP_HOST}(+)$[NC]
#重写规则^(.*)$http://www.%1/$1[R=301,L]
#让人们远离codeigniter目录和Git/Mercurial数据
重定向匹配403^/*/(system/cms/cache | system/codeigniter | system/cms/config | system/cms/logs | \.git | \.hg)*$
#通过index.php发送请求(同样,如果是真实的文件或文件夹,则不发送请求)
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则^(.*)$index.php/$1[L]
重写规则^(.*)$index.php?/$1[L]

可能有什么问题?

您在哪里看到错误500,子页面?无论如何,你肯定想得到错误日志-显然对于Godaddy你可以在这里启用-对于PyroCMS,你需要一个主机提供商来提供它,因为你可能会遇到各种奇怪的问题…