-1

This one is a relatively simple one hopefully. We just launched a site and uploaded it to a new server. In uploading the .htaccess file, we made a small mistake and when we went to correct it, it didn't seem to update.

We deleted the .htaccess file altogether and yet for some reason it seems to have cached itself on the server... I think. We have hard refreshed, tried different machines, different browsers and it still pulls in the dynamic pages.

I have never experienced this before.

Does anyone know how to force / hard refresh a htaccess file>?

4

2 回答 2

1

自从您删除文件以来,我不明白您所描述的情况,并且您没有说明导致问题的 .htaccess 中的内容,也没有说明造成的影响。

但是....除了删除 .htaccess 文件之外,您不需要做任何事情 - Apache 不会缓存它。

于 2013-07-31T12:07:56.937 回答
0

这对我来说有点奇怪——在创建网站方面,我并不是世界上最大的菜鸟,但显然我在这里做了一些奇怪/错误的事情。

我删除了 .htaccess 引用的文件夹/文件的所有实例,并且确实删除了 .htaccess 文件以强制执行 404。然后我重新上传了 php 文件和 htaccess,它现在似乎正在运行。

多么奇怪的事情。再次感谢您的所有想法。

于 2013-07-31T12:18:39.563 回答