1

Apache 错误日志:

[Sat Feb 23 02:19:46.233604 2013] [core:alert] [pid 6904:tid 1592] [client ::1:53186] C:/xampp/htdocs/me/.htaccess: Invalid command 'CheckCaseOnly', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/me/

.ht 访问:

RewriteEngine On

CheckCaseOnly On
CheckSpelling On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^profile/(.*)$ /me/profile.php?username=$1 [QSA,L]
RewriteRule ^(.*)$ /me/index.php?unikpage=$1 [QSA,L]

这是一个服务器错误。我试图使 URL 区分大小写。它是如何完成的?

4

0 回答 0