![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
apache
langmnm
这个作者很懒,什么都没留下…
展开
-
apache 虚拟目录(文件服务器)
1. /conf/httpd.conf修改下面内容[code="xml"]#apache 安装目录ServerRoot "D:/Develop/Apache2.2"#Listen 12.34.56.78:80 侦听端口和IPListen 80# Virtual hosts 去掉注释Include conf/extra/httpd-vhosts.conf...原创 2014-05-29 16:11:13 · 134 阅读 · 0 评论 -
apache利用.htaccess进行反向域名绑定
[size=x-large]一、需求:[/size] 因公司带宽问题,所以想把静态资源移置CDN上(阿里或腾讯),但是某些前台js不支持跨域操作(createjs),但是页面文件为jsp页面,未移置到CDN上,createjs在对页面中的跨域图片就无权修改,所以想都在同一域名进入,页面文件正常访问apache下的,指定静态文件定位到CDN地址上。[size=x-large]二、解...原创 2016-01-05 16:04:17 · 245 阅读 · 0 评论