问题
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