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] Require all denied # 添加默认文档类型 DirectoryIndex index.php # 添加错误处理 php_flag display_errors on php_value error_reporting E_ALL