阿帕奇改写为404:获取请求的URL [英] Apache rewrite for 404: getting the requested url
本文介绍了阿帕奇改写为404:获取请求的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的错误页面,我重定向到任何404,我想记录用户试图查看网址。
On my error page that I redirect to for any 404s, I'd like to record the url that the user tried to get to.
我试过这个,但它不工作:
I've tried this but it doesn't work:
的ErrorDocument 404 /错误/?URL =%{HTTP_REFERRER}
谁能告诉我该怎么办呢?
Can anyone tell me how to do it?
推荐答案
这似乎没有一种方式。
这篇关于阿帕奇改写为404:获取请求的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文