`
gcgmh
  • 浏览: 348676 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

apache2.2.14一些问题解决方法

    博客分类:
  • PHP
阅读更多
一、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>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics