1. 论坛系统升级为Xenforo,欢迎大家测试!
    Dismiss Notice

APACHE遇到这样的问题,不知道这里的高手能否知道原因!

Discussion in '主机讨论' started by liaoruo, Dec 29, 2005.

  1. liaoruo

    liaoruo New Member

    Joined:
    Oct 30, 2005
    Messages:
    21
    Likes Received:
    0
    Apache/2.0.50 (Win32) PHP/5.0.0 Server

    安装后绑定域名,确定域名指向已经生效
    但用域名访问却显示
    You don't have permission to access / on this server.
    4.3错误

    使用IP加目录可以访问

    不知道是什么原因
    有知道的帮解决下,感谢
     
    #1 liaoruo, Dec 29, 2005
    Last edited: Dec 29, 2005
  2. laogui

    laogui Administrator
    Staff Member

    Joined:
    Aug 30, 2005
    Messages:
    15,216
    Likes Received:
    35
    没有添加首页
    DirectoryIndex index.html index.htm index.php index.shtml
     
  3. liaoruo

    liaoruo New Member

    Joined:
    Oct 30, 2005
    Messages:
    21
    Likes Received:
    0
    DirectoryIndex index.html index.htm index.php index.shtml

    这个加的有
    请问还有别的原因吗?
     
  4. laogui

    laogui Administrator
    Staff Member

    Joined:
    Aug 30, 2005
    Messages:
    15,216
    Likes Received:
    35
    服务器目录权限改了吗?
     
  5. liaoruo

    liaoruo New Member

    Joined:
    Oct 30, 2005
    Messages:
    21
    Likes Received:
    0
    The Apache service named reported the following error:
    >>> [Fri Dec 30 21:53:56 2005] [warn] VirtualHost 12.34.56.78:80 overlaps with VirtualHost 12.34.56.78:80, the first has precedence, perhaps you need a NameVirtualHost directive .


    按您说的我都做了
    事件提示如上所示
    权限都改了,现在几乎把所有的权限都给了
    还是不行
    服务器是装的2003的系统
    直接走APACHE

    我分析了下,如果用IP直接加目录可以访问
    但是利用APACHE绑定的域名来访问就不行
    出现403错误

    想了想是不是HTTP。CONF的设置有问题

    请老鬼帮我分析下
    感激不尽
     
  6. 小叶

    小叶 New Member

    Joined:
    Sep 4, 2005
    Messages:
    17,941
    Likes Received:
    33