问题描述

阿里云,云服务器 ECS使用ip访问出现无法访问

解决方法:

设置安全组配置-》配置规则-》添加安全组规则

选择http协议

配置apache2.4  You don't have permission to access / on this server.

配置apache2.4  You don't have permission to access / on this server.

 

 

 

配置apache2.4  You don't have permission to access / on this server.

 

 设置成功后访问出现

  You don't have permission to access / on this server. 

版本:apache2.4.18

问题百度答案修改之后无效

最后修改C:\wamp64\bin\apache\apache2.4.18\conf\extra\httpd-vhosts.conf

文件

#
# Virtual Hosts
#

<VirtualHost *:80>
    ServerName localhost
    DocumentRoot c:/wamp64/www
    <Directory  "c:/wamp64/www/">
        Options +Indexes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

 

 访问成功,之前修改了很多次httpd.conf 如果修改了httpd-vhosts.conf

还无效那就试试同时修改下httpd.conf

#   onlineoffline tag - don't remove
    Order Allow,Deny
    Allow from all

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-01-11
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2021-08-03
  • 2022-01-12
  • 2021-12-20
  • 2021-11-27
相关资源
相似解决方案