I've already enable headers using command a2enmod headers
,i want to vim it to edit cache-control allowed http no_cache, just don't know where is .htaccess
located.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
.htaccess
is a control file which can be located in arbitrary folder in order to overwrite apache default settings regarding that folder and its subfolders.
Create that file inside the document root of your project and edit it.