惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
SegmentFault 最新的问题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Attack and Defense Labs
Attack and Defense Labs
F
Full Disclosure
Vercel News
Vercel News
N
News | PayPal Newsroom
The GitHub Blog
The GitHub Blog
H
Hacker News: Front Page
H
Heimdal Security Blog
P
Privacy International News Feed
博客园 - 司徒正美
Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cisco Blogs
L
Lohrmann on Cybersecurity
D
Docker
Recent Announcements
Recent Announcements
Security Archives - TechRepublic
Security Archives - TechRepublic
人人都是产品经理
人人都是产品经理
C
CXSECURITY Database RSS Feed - CXSecurity.com
P
Proofpoint News Feed
T
Tailwind CSS Blog
C
Check Point Blog
博客园 - 叶小钗
Google Online Security Blog
Google Online Security Blog
Martin Fowler
Martin Fowler
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
S
Secure Thoughts
博客园 - Franky
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
P
Palo Alto Networks Blog
Latest news
Latest news
量子位
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
The Cloudflare Blog
Last Week in AI
Last Week in AI
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Cyberwarzone
Cyberwarzone
小众软件
小众软件
Cisco Talos Blog
Cisco Talos Blog
Hacker News: Ask HN
Hacker News: Ask HN
T
Threatpost
T
Tenable Blog
P
Privacy & Cybersecurity Law Blog
WordPress大学
WordPress大学

博客园 - Prolove

android 开源框架推荐 手机游戏玩家来源渠道统计方法 Centos+Nginx+PHP+Mysql 如何调整不良的 IT 管理习惯 Mysql 数据库优化的几个办法 mysql 忘记 root 密码 DedeCms 生成性能终极优化策略 Red Hat Enterprise Linux AS release 4 下安装 gcc (转帖) linux 架设 subversion(svn) 版本控制[转载] js firefox3 下 fckeditor 插入超链接失效解决办法 Zend Studio 5.0 5.1 5.5 系列号 注册码 SN 不指定 google 病毒警告提示网站有病毒木马的解除方法 js 判断浏览器类型 iexplore.exe 应用程序错误 该内存不能为"read" 点击 input 框,框内提示消失效果 php 求某时间段的时间戳开始和结尾 通过SSH 解压缩 .tar.gz .gz .zip 文件的方法 PHP: Allowed memory size of 的解决
URL 重写
Prolove · 2010-06-24 · via 博客园 - Prolove

我在.htaccess里设置了URL重写
例子:
a.php?id=1   重写成 a_1.html

我在地址栏输入 a_1.html 时,
当a_1.html文件存在的时候,我想让站点显示的是存在的a_1.html的内容,当a_1.html不存在的时候,才去访问 a.php?id=1
这个级别是要怎么设置呢?

我现在的情况是 a_1.html存在了,但还是访问的 a.php?id=1

解决方案:

 在  condition 里写明 -f 

如   RewriteRule ^zh_cn\/products-([0-9]+)(.*)\.html$  goods\.php\?id=$1 -f [QSA,L]