htaccess缓存问题 [英] Htaccess cache issues
问题描述
这使我彻底疯了.
我一直在这个新安装的服务器上使用URL重写自定义URL,但是似乎永远不会考虑我在htaccess中编写的任何URL重写规则.
I've been using URL rewriting on this freshly installed server for custom URLs, but it seems that whatever URL rewriting rule I write in htaccess will be taken into account forever..
示例:
RewriteRule ^dashboard/calendar/$ /calendar.php [QSA,L]
即使我删除了这一行,Apache仍会考虑在内.
Even if I remove the line, Apache will still take it into account.
即使我删除了.htaccess文件,幽灵内容仍然会被应用...我假设某个地方有某种缓存;我如何关闭它.. ?? ..
Even if I DELETE .htaccess, the ghost content will still be applied... I assume there is some kind of cache somewhere; how do I turn it off..??..
谢谢!
推荐答案
虽然很久以前,但我认为重新启动整个服务器可以解决该问题.否则,为文件创建新的VHost和新目录将达到目的.
Though it was a long time ago, I believe rebooting the whole server fixes it. Otherwise, creating a new VHost and a new directory for the files will do the trick..
这篇关于htaccess缓存问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!