我有图片,我想添加他们的标题为最大,我有个人资料图片可以改变和张贴图片,我想添加标题仅适用于张贴的图片,但不是个人资料图片,我不知道如何pipe理这个。 谢谢,这是我的configuration,
this is the path of posts,/post/name-of-the-picture.jpg this is the path of users,/user/name-of-the-picture.jpg
location ~* .(css|js|png|gif)$ { expires max; add_header Pragma public; add_header Cache-Control "public"; }
什么是sys / user.h用于?
将Perl脚本输出pipe道打印为10行后,将会杀死脚本
通过查找命令在AWK上应用Unix头
如何在Windows cmd中打印该文件的前五行
包含Windows上可能存在或不存在的标头
找不到头<linux / kfifo.h>
在winbase.h中(第97行),函数式的macrosYield()是什么?
我们可以修改limits.h吗? 会产生什么影响?
在Apache Htaccess中正确使用KeepAlive
目前我们有两个选择来解决这个问题:
选项1:
location /post/ { post config stuff; . . . } location ~* ^/post/.*.(css|js|png|gif)$ { post/files.(css|js|png|gif) config stuff; expires max; add_header Pragma public; add_header Cache-Control "public"; } location /user/ { user folder config stuff; . . . } location ~* ^/user/.*.(css|js|png|gif)$ { user/files.(css|js|png|gif) config stuff; . . . }
选项2:
嵌套位置 :在内部位置块中通过扩展进行筛选
location /post/{ ... location ~* .(css|js|png|gif)$ { expires max; add_header Pragma public; add_header Cache-Control "public"; } } location /user/{ ... location ~* .(css|js|png|gif)$ { ... } }
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。