解决修改XAMPP DocumentRoot: Access forbidden!
来源:互联网 发布:java就业实训 编辑:程序博客网 时间:2024/05/17 22:55
changing the document root to your ‘Sites’ folder
- install xampp from apachefriends.org
- open /Applications/XAMPP/xampfiles/etc/ in finder; right click > get info
make sure its read / write by everyone - open /Applications/XAMPP/xampfiles/etc/httpd.conf
- scroll down to ‘DocumentRoot’
- type in the location of your ‘sites’ folder [ /Users/username/Sites ]
- scroll down to the <Directory> config
- replace /Applications/XAMPP/xamppfiles/htdocs with /Users/username/Sites
- save
- restart apache
- goto http://localhost to see what you have
Then gives this error:
“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. …”
To solve this:
sudo chmod 777 /Users/username/Sites- 解决修改XAMPP DocumentRoot: Access forbidden!
- 解决 XAMPP出现 Access forbidden!错误
- 【旧资料整理】xampp Apache DocumentRoot跨分区配置要点及Access forbidden解决方法
- xampp access forbidden resolve
- XAMPP: Access forbidden!
- xampp Access forbidden
- 关于Mac版XAMPP 403 Access forbidden的解决
- 远程访问xampp access forbidden
- xampp Apache Access forbidden! Error 403 解决方法
- mac上的xampp出现Access forbidden!
- XAMPP提示 Access forbidden情况的处理
- xampp Apache Access forbidden! Error 403 解决方法
- xampp Apache Access forbidden! Error 403 解决方法
- xampp Apache Access forbidden! Error 403 解决方法
- 简单谈谈xampp本地服务器的Access forbidden配置问题
- httpd.conf中一旦修改DocumentRoot为其他的目录出现Forbidden
- lamp Error403 Forbidden access解决策略
- xampp:Access forbidden!You don't have permission to access the requested directory.
- NSRange 用法
- 黑马程序员_C#面对对象概念
- Android:Activity和Fragment生命周期实践
- Unable to create the selected preference page解决方法
- 虚函数表
- 解决修改XAMPP DocumentRoot: Access forbidden!
- Win7系统搭建WiFi热点详细攻略(遇到的各种问题的解决办法如:手机始终显示正在获取IP)(没有第三方软件)
- hadoop再次配置lzo
- python中关于socket的timeout设置的问题
- R树空间索引
- SparWeb 的安装和使用
- 最近点对NYOJ
- ios7 UIScrollView 尺寸问题------UIScrollView的子视图整体下移
- android 百度定位(一)