Apache Http Server多站点的目录权限问题,apacheserver
Apache Http Server多站点的目录权限问题,apacheserver
1,修改文件:Apache Http Server安装目录\apache2.2\conf\httpd-vhosts.conf
添加监听端口新端口,比如8001:
Listen 80
Listen 8001
2,打开已经注释掉的配置:
#Virtual hosts
Include conf/extra/httpd-vhosts.conf
3,在httpd-vhosts.conf文件中添加<VirtualHost标签>:
- <VirtualHost 10.2.20.12:8001>
- ServerAdmin xxxxxx@live.com
- DocumentRoot D:/httproot/viedonew
- ServerName localhost_8001
- AddDefaultCharset UTF-8
- <Directory "D:/httproot/viedonew/">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
- </VirtualHost>
4,重启apache服务器
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script> 阅读(854) | 评论(0) | 转发(0) | 0上一篇:可视化工具搭建SVN服务器
下一篇:为什么程序员的工作效率跟他们的工资不成比例
相关热门文章- 关于SSI
- IP Sec VPN与NAT破镜重圆
- JS模拟鼠标自动点击
- UT2.0正式版下载
- tomcat6.0配置(含配置视频下载...
- linux dhcp peizhi roc
- 关于Unix文件的软链接
- 求教这个命令什么意思,我是新...
- sed -e "/grep/d" 是什么意思...
- 谁能够帮我解决LINUX 2.6 10...
评论暂时关闭