的.htaccess - 服务器错误错误、服务器、htaccess

由网友(时光老人i)分享简介:我收到以下错误服务器遇到一个内部错误,无法完成您的请求。无论是服务器过载或出现在CGI脚本错误。如果你认为这是一个服务器错误,请与网站管理员联系。错误500 184.82.228.38周一1月9日二时48分12秒2012阿帕奇/ 2.2.21(Unix的)DAV / 2了mod_ssl / 2.2.21的OpenS...

我收到以下错误

服务器遇到一个内部错误,无法完成您的请求。无论是服务器过载或出现在CGI脚本错误。

如果你认为这是一个服务器错误,请与网站管理员联系。

错误500

184.82.228.38 周一1月9日二时48分12秒2012 阿帕奇/ 2.2.21(Unix的)DAV / 2了mod_ssl / 2.2.21的OpenSSL / 1.0.0c PHP / 5.3.8 mod_a preq2-20090110 / 2.7.1的mod_perl / 2.0.5的Perl / v5.10.1

进出口运行XAMPP的服务器 这里是我的htaccess的文件,我不明白是什么问题。

 与AuthType基本
                AuthName指令会员区
                的AuthUserFile /opt/lampp/htdocs/.htpasswd
                需要有效的用户

                < FilesMatch(异步上传 .PHP | WP-cron的 .PHP | XMLRPC  .PHP)$>
                满足任何
                订购允许,拒绝
                所有允许
                从没有拒绝
                < / FilesMatch>
#BEGIN字preSS
< IfModule mod_rewrite.c>
RewriteEngine叙述上
的RewriteBase /件/
的RewriteCond%{} REQUEST_FILENAME!-f
的RewriteCond%{} REQUEST_FILENAME!-d
重写规则。 /members/index.php [L]
< / IfModule>

#结束字preSS
 

解决方案

我之前得到了同样的错误,问题是htpasswd的位置路径。请确保您已设置了正确的路径,该文件。

hamachi的服务器是灰的没有提示什么,重新创时显示创造时服务器报告了一个错误

I'm getting the following error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.

Error 500

184.82.228.38 Mon Jan 9 02:48:12 2012 Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_apreq2-20090110/2.7.1 mod_perl/2.0.5 Perl/v5.10.1

Im running a XAMPP server here is my htaccess file, i don't understand what the problem is.

    AuthType Basic
                AuthName "Members Area"
                AuthUserFile /opt/lampp/htdocs/.htpasswd
                Require valid-user

                <FilesMatch "(async-upload.php|wp-cron.php|xmlrpc.php)$">
                Satisfy Any
                Order allow,deny
                Allow from all
                Deny from none
                </FilesMatch>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /members/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /members/index.php [L]
</IfModule>

# END WordPress

解决方案

I got the same error before and the problem is the location path of the .htpasswd. Make sure you have set the correct path for that file.

阅读全文

相关推荐

最新文章