apache2.2.14一些问题解决方法

一、apache安装好之后,报如下错:

[Sun Oct 25 10:43:13 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming normal operations
[Sun Oct 25 10:43:13 2009] [notice] Server built: Sep 28 2009 22:41:08
[Sun Oct 25 10:43:13 2009] [notice] Parent: Created child process 1404
[Sun Oct 25 10:43:13 2009] [notice] Child 1404: Child process is running
[Sun Oct 25 10:43:13 2009] [crit] (OS 10022)提供了一个无效的参数。 : Child 1404: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sun Oct 25 10:43:13 2009] [crit] Parent: child process exited with status 3 -- Aborting.


正确的解决办法
1.网上邻居->本地连接->属性->internet协议(TCP/IP)->属性->高级->wins标签->去掉启用LMhosts查询前的勾.
2.控制面版->windows防火墙->高级标签->本地连接设置->服务的标签里勾选安全Web服务器(HTTPS)即可.. feedom.net(没有启动windows防火墙的这步可以不修改)

这样才算完全解决问题,我的apache服务器总算可以正常使用了,希望能给大家做个借鉴.


二、apache更换了DocumentRoot的目录配置之后,访问时报没有权限,禁止访问。
这是由于在更改了DocumentRoot的目录之后,还要配置这个目录的权限,配置如下:

DocumentRoot
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "D:/Apache2.2/www"

=============================

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "D:/Apache2.2/www">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

</Directory>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值