Htaccess cache issues

点点圈 提交于 2019-12-12 15:58:43

问题


This is driving me completely crazy.

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..

Example:

RewriteRule ^dashboard/calendar/$       /calendar.php [QSA,L]

Even if I remove the line, Apache will still take it into account.

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..??..

Thanks!


回答1:


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..




回答2:


did you try restarting apache? try throwing in a sudo service apache2 restart



来源:https://stackoverflow.com/questions/6878995/htaccess-cache-issues

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!