From 535c0a787c46051705b20519c8a35af1a8e1a834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=8E=8B?= Date: Tue, 26 Aug 2025 19:39:42 +0800 Subject: [PATCH] =?UTF-8?q?PHP=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- php/.htaccess | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 php/.htaccess diff --git a/php/.htaccess b/php/.htaccess new file mode 100644 index 0000000..6e1cbc7 --- /dev/null +++ b/php/.htaccess @@ -0,0 +1,12 @@ +RewriteEngine On + +RewriteRule ^.tmp/ - [F] + +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.*)$ index.php [QSA,L] + + +Order allow,deny +Deny from all +