
apache
mlnotes
这个作者很懒,什么都没留下…
展开
-
apache 设置虚拟主机
参照 http://httpd.apache.org/docs/2.2/vhosts/examples.html修改http.conf其中最重要的如下:Listen 80Listen 8080NameVirtualHost 172.20.30.40:80NameVirtualHost 172.20.30.40:8080ServerName www.example.comDocumentRoot /原创 2013-08-01 00:56:02 · 692 阅读 · 0 评论 -
MAC apache 将DocuemntRoot 设置为 用户目录中 permission 403 问题
例如将DocumentRoot设置为 /Users/xxx/Documents/project/myweb其实很简单,就是 执行 apache的 www用户没有Documents的读和执行权限,设置一下就解决问题了chmod 755 Documents原创 2013-08-01 00:56:20 · 1664 阅读 · 0 评论