开发者

Htaccess cache issues

开发者 https://www.devze.com 2023-03-24 10:53 出处:网络
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 i

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 b开发者_运维知识库e applied... I assume there is some kind of cache somewhere; how do I turn it off..??..

Thanks!


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消