nbzb0574 发表于 2012-6-13 09:32:07

求问:安装完LNMPA后.如何修改默认站点的根目录?

按步骤安装完了LNMPA...发现默认站点的根目录是/home/wwwroot,于是新建了文件夹/home/wwwroot/默认域名/,修改了Nginx主配置文件:/usr/local/nginx/conf/nginx.conf里的路径,修改了/usr/local/apache/conf/httpd.conf里的路径...可是访问默认域名出现

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 contact the webmaster.

Error 403
linux.mould.org.cn
Wed Jun 13 09:31:22 2012
Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips PHP/5.2.17p1请问.是什么原因造成的??

licess 发表于 2012-6-13 10:47:44

/usr/local/apache/conf/extra/httpd-vhosts.conf 里应该没修改
页: [1]
查看完整版本: 求问:安装完LNMPA后.如何修改默认站点的根目录?