Linux Apache一直要求401授权
我有一个以前从未有过的奇怪问题。我刚安装了Linux(这是一个基于Ubuntu的鲜为人知的Linux版本,用于一个狭窄的行业领域,我希望它本身没有多大关系)。我已经安装了Apache。每次我试着打开Linux Apache一直要求401授权,linux,apache,ubuntu,Linux,Apache,Ubuntu,我有一个以前从未有过的奇怪问题。我刚安装了Linux(这是一个基于Ubuntu的鲜为人知的Linux版本,用于一个狭窄的行业领域,我希望它本身没有多大关系)。我已经安装了Apache。每次我试着打开 http://localhost (本地)我得到401授权要求的响应 My/etc/apache2/sites enabled/000默认值为: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentR
http://localhost
(本地)我得到401授权要求的响应
My/etc/apache2/sites enabled/000默认值为:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order Allow,Deny
allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
内置模块(/usr/sbin/apache2-l):
有趣的是,如果我添加以下行:
Satisfy Any
对于/etc/apache2/sites enabled/000默认文件中的部分,每个请求都会在Apache的错误日志中生成以下错误:
[Mon Oct 01 12:34:59 2012] [notice] child pid 4445 exit signal Segmentation fault (11)
Apache什么也不返回,只是关闭连接
我完全不知道是什么让Apache请求授权,甚至不知道如何调试它。为日志文件启用调试级别不会在access.log和error.log中显示任何内容。任何帮助或指导都将不胜感激。谢谢。最后我联系了这个Linux供应商,结果发现这个特定的Linux版本是以某种方式构建的,Apache授权无法关闭,因此,除了删除apache软件包并用其他软件包替换它们之外,没有任何方法可以关闭它。最后,我联系了这个Linux供应商,结果发现这个特定的Linux版本是以这样的方式构建的,apache授权无法关闭,因此,除了删除apache包并用其他包替换它们之外,没有任何方法可以关闭它
Satisfy Any
[Mon Oct 01 12:34:59 2012] [notice] child pid 4445 exit signal Segmentation fault (11)