文件操作 - .htaccess
返回文件管理
返回主菜单
删除本文件
文件: /var/softaculous/zen/.htaccess
编辑文件内容
# htaccess file version 1.4.12; # Rewrite rules are now handled by PHP code # See the file "zenphoto-rewrite.txt" for the actual rules # # These rules redirect everything not directly accessing a file to the Zenphoto index.php script # <IfModule mod_autoindex.c> IndexIgnore * </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase [[relativeurl]]/ RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [L] RewriteRule ^.*/?$ index.php [L,QSA] </IfModule>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件