apache - 重写apache规则
问题描述
我正在尝试做以下事情,我想在 url 中添加一个子字符串,例如
https://example.com/new-post
:https://example.com/post/new-post
并且还排除以下网址,使其不排除它们:
https://example.com
https://example.com/news
https://example.com/contact-us
有人有想法么?谢谢您的帮助!
解决方案
推荐阅读
- c - 在动态库上调用带有浮点参数的函数无法获得正确的值
- image - Dianoga 日志为空
- asp.net-core-webapi - 在 ASP.NET Core 5 WebAPI 中确定 MultiPartReaderStream 中的流结束
- python - 即使使用不同数量的代理/帐户,“每个 IP 地址的调用次数太多”总是在相同的请求计数
- csv - 如何在 Agiletoolkit atk4 中将网格导出为 CSV 文件
- spring - 如何在 Spring Boot 中允许空的 MultipartFile?
- r - 如何将 JSON 转换为数据框
- python - Snakemake 通配符
- php - 为什么phpMailer给我错误:不能在写上下文中使用函数返回值
- python - python SQL like 运算符需要从 SQL 列表中返回匹配项