文件操作 - htaccess_
返回文件管理
返回主菜单
删除本文件
文件: /var/softaculous/piwik/htaccess_
编辑文件内容
# This file is auto generated by Matomo, do not edit directly # Please report any issue or improvement directly to the Matomo team. # First, deny access to all files in this directory <Files "*"> <IfModule mod_version.c> <IfVersion < 2.4> Order Deny,Allow Deny from All </IfVersion> <IfVersion >= 2.4> Require all denied </IfVersion> </IfModule> <IfModule !mod_version.c> <IfModule !mod_authz_core.c> Order Deny,Allow Deny from All </IfModule> <IfModule mod_authz_core.c> Require all denied </IfModule> </IfModule> </Files> # Serve HTML files as text/html mime type - Note: requires mod_mime apache module! <IfModule mod_mime.c> AddHandler text/html .html AddHandler text/html .htm </IfModule> # Allow to serve static files which are safe <Files ~ "\.(gif|ico|jpg|png|svg|js|css|htm|html|mp3|mp4|wav|ogg|avi|ttf|eot|woff|woff2)$"> <IfModule mod_version.c> <IfVersion < 2.4> Order Allow,Deny Allow from All </IfVersion> <IfVersion >= 2.4> Require all granted </IfVersion> </IfModule> <IfModule !mod_version.c> <IfModule !mod_authz_core.c> Order Allow,Deny Allow from All </IfModule> <IfModule mod_authz_core.c> Require all granted </IfModule> </IfModule> </Files>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件