![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
htaccess
langyu1021
这个作者很懒,什么都没留下…
展开
-
.htaccess常用设置
图片压缩与404错误页RewriteEngine on AddOutputFilterByType DEFLATE text/html text/css image/gif image/jpeg image/png application/x-jav ErrorDocument 404 /404.html301RewriteCond %{HTTP_HOST} ^(badcatxt\.com)(:80原创 2015-12-03 21:06:38 · 767 阅读 · 0 评论 -
htaccess下配置跨域的方法
<IfModule mod_headers.c> Header add Access-Control-Allow-Origin: * </IfModule> <IfModule mod_headers.c> Header add Access-Control-Allow-Origin: "http://www.badcatxt.com" </IfModule> <IfModule mod_转载 2017-12-21 16:12:29 · 3200 阅读 · 1 评论