File size: 394 Bytes
ca533c7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
AddType application/x-httpd-php83 .php
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})$
RewriteRule ^(.*)$ /index.php?id=%1 [L]
<FilesMatch "\.(db|bak|sql)$">
Require all denied
</FilesMatch>
# 添加默认文档类型
DirectoryIndex index.php
# 添加错误处理
php_flag display_errors on
php_value error_reporting E_ALL
|