aws防火墙不是系统防火墙,目前没用过cn版的不清楚是否和us版的有区别,us版是有防火墙的。如被屏蔽端口要联系他们客服确认看看作者: 872517414 时间: 2016-2-1 22:31 标题: 回复 5# 的帖子 CN版目前只给企业用,朋友有背景给我一台的使用权,但是网络端口因为 说要aws域名专属备案后才能开启常用的网络端口。至于什么情况我现在也找不到那句话了-_-||作者: 872517414 时间: 2016-2-2 21:51 标题: 回复 5# 的帖子 军哥我把Nginx的端口换了,果然可以打开了,但是现在又遇到一个问题,就是我想把服务器当作一个文件服务器,也就是可以访问某个目录的
我给nginx的配置添加了以下代码
autoindex on;
autoindex_exact_size off;
autoindex_localtime on
然后看了一下 httpd.conf
看到也可以
<Directory "/home/wwwroot/default">
#
# 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 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 All
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
但访问就还是
403 Forbidden
You don't have permission to access / on this server.作者: licess 时间: 2016-2-3 14:39
目录浏览直接在nginx上设置,lnmpa下在apache下设置目录浏览太麻烦作者: 872517414 时间: 2016-2-3 17:20 标题: 回复 8# 的帖子 就是设置了,但是返回的是Apache接口.........
http://www.mikuchina.com:999/p.php作者: 872517414 时间: 2016-2-3 19:10