如何使用 mod_rewrite 从 url 中删除目录?
我怎样才能转 http://domain.com/foo/bar.jpg 进入 http://domain.com/bar 同时保持网站的其余部分正常运行?
How can i turn
http://domain.com/foo/bar.jpg
into
http://domain.com/bar
while keeping the rest of the website working?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该能够简单地使用...
You should simply be able to use...