apacheのmod_speling.cでスペル自動補正

Stupid htaccess Tricksというapacheの設定コワザが掲載されているページを見つけたのだけど、

# automatically corect simple speling erors <IfModule mod_speling.c> CheckSpelling On </IfModule>

mod_speling.c なんてあるのね。 Apache モジュール mod_speling
URIなどの打ち間違えとかをある程度自動補正してくれるみたい。

他にも幾つか気になったコワザがあったのでついでに。

# protect against DOS attacks by limiting file upload size LimitRequestBody 10240000
# minimize image flicker in IE6 ExpiresActive On ExpiresByType image/gif A2592000 ExpiresByType image/jpg A2592000 ExpiresByType image/png A2592000
# require SSL SSLOptions +StrictRequire SSLRequireSSL SSLRequire %{HTTP_HOST} eq "domain.tld" ErrorDocument 403 https://domain.tld # require SSL without mod_ssl RewriteCond %{HTTPS} !=on [NC] RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]