VPS侦探论坛

 找回密码
 注册
查看: 5723|回复: 1

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

[复制链接]
发表于 2012-6-13 09:32:07 | 显示全部楼层 |阅读模式

按步骤安装完了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
  请问.是什么原因造成的??
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-6-13 10:47:44 | 显示全部楼层


/usr/local/apache/conf/extra/httpd-vhosts.conf 里应该没修改
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-17 16:01 , Processed in 0.025464 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表