lnmpa,域名可以访问网站,ip不可以
域名访问网站正常,但是用ip访问会提示:Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contactthe webmaster.
Error 403125.32.113.157
Sat Nov 17 00:34:47 2012
Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips PHP/5.2.17p1
请问军哥, 我如何让ip也可以直接访问网站。 可能安装lnmp时的域名与升级到lnmpa时的域名不一样 应该是填写的不一样, 因为不是一次性升级的。请问军哥我如何修改?
回复 3# 的帖子
/usr/local/nginx/conf/nginx.conf 里的域名与/usr/local/apache/conf/extra/httpd-vhosts.conf 里的一致才行
页:
[1]