点击 286回答 3
2022-03-16 17:21
易企CMS伪静态问题![]() ![]() URL重写 生成HTML后,除了首页栏目可以打开外其他都打不开(包括后台登陆页),怎么回事?下载的是官方伪静态规则。错误提示如下: Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/1.0.0-fips mod_bwlimited/1.4 mod_perl/2.0.6 Perl/v5.10.1 Server at Port 80服务器是linux的,伪静态规则:RewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^article\/(.+).html$ article.php?name=$1 [L]RewriteRule ^product\/(.+).html$ product.php?name=$1 [L]RewriteRule ^category\/([^/_]+)[/]?$ category.php?name=$1 [L]RewriteRule ^category\/([^/]+)_([0-9]+)[/]?$ category.php?name=$1&p=$2 [L]RewriteRule ^comment.html$ comment.php [L]RewriteRule ^sitemap.xml$ sitemap.php [L]咨询了空间商,我每次生成HTML的时候,文件夹的权限就变成了 777,改成0755就可以了!暂时的解决方法是生成一次HTML,就改一次空间权限。。。。。。这个是空间的问题,还是程序的问题呢??
|