【问题标题】:Dynamic blog working on local but on server blog page show show http error 500动态博客在本地工作,但在服务器博客页面上显示显示 http 错误 500
【发布时间】:2020-10-14 07:29:30
【问题描述】:
RewriteEngine On
RewriteBase /blog/

RewriteRule ^c-(.*)$ catpost.php?id=$1 [L]
RewriteRule ^a-(.*)-(.*)$ archives.php?month=$1&year=$2 [L]

RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteRule ^(.*)$ viewpost.php?id=$1 [QSA,L]

检查此网址 - http://emkconsultant.com/blog/ 我认为 .htaccess 文件中的问题

【问题讨论】:

    标签: php .htaccess webserver hosting


    【解决方案1】:

    也许来自您的 apache 服务器配置!检查 apache 的错误日志来自:

    /var/log/apache2/error.log
    

    【讨论】:

    • 我的托管服务提供商使用 Lite speed 服务器
    猜你喜欢
    • 2017-07-26
    • 1970-01-01
    • 1970-01-01
    • 2019-05-17
    • 2020-06-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多