apache - apache重写规则中的-d标志是什么?
问题描述
和
这里:http ://httpd.apache.org/docs/current/rewrite/flags.html
而且我无法弄清楚 '-d' 标志在 apache 重写规则中的用途。
前片段: RewriteCond %{REQUEST_FILENAME} !-d
有人可以为我照亮这个吗?感谢您的任何和所有解释和答案!:-)
解决方案
显然,这是一种“接近绘画”的事情,因为我错过了文档中的标志。
-d
Is directory.
Treats the TestString as a pathname and tests whether or not it exists, and is a directory.
:-)
推荐阅读
- algorithm - Flowgorithm:如何检查输入的值是否为整数?
- python-3.x - Python Boto3 未打印所有区域 ec2 详细信息
- javascript - 使用 javascript 的白天或夜晚时间
- python - 检查 Token 是否已经被批准 python
- c - 如何让我的代码显示 C 中的所有数学步骤
- excel - 从 VBA Excel 中的列中获取随机值
- javascript - 如何收听 Chrome 扩展的 (Metamask) 按钮?
- r - R 中的 Keras:在多次训练后释放内存
- c# - 用于 cosmos db json 中嵌套对象的 Linq
- flutter - 父状态改变时播放动画的正确方法