- 论坛徽章:
- 0
|
我在linux下子带安装的apache2.040配置.htaccess验证出现问题.报错信息为500 internal server error . 而在7.3下同样的配置能够正常使用.具体报错如下:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@chinese.1234.org 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.
Apache/2.0.40 Server at chinese.1234.org Port 80
我的配置大概如下:
httpd.conf 中
<Directory "/var/www/html">;
Options Indexes Includes FollowSymLinks
AllowOverride Authconfig
Allow from all
Order allow,deny
</Directory>;
在var/www/html下配置.htaccess文件.
Authname bingbinginter
Authtype basic
Authuserfile /etc/httpd/.passwd
require valid-user
然后用htpasswd -c /etc/httpd/.passwd user1
建立user1用户.
结果访问http://ip
出现以上报错信息. 而在linux7.3下配置就没有问题.请各位指教. 感谢!!
日志中:
[Thu Oct 30 18:54:40 2003] [alert] [client 172.16.5.1] /var/www/.htaccess: Invalid command 'AuthName!!"bingbinginter"!!', perhaps mis-spelled or defined by a module not included in the server configuration |
|