내가 htaccess로를 사용하여 URL에 파일 끝 (.KML)를 추가하기 위해 노력하고있어하지만.htaccess를 사용하여 파일 끝내기를 추가 하시겠습니까?
URL이 나는 그것이 http://resihop.nu/kml.kml이되고 싶은 http://resihop.nu/kml 입니다 작동하지 않는 것은 내가 뭘하려 :
한다 RewriteRule^kml.kml의 $ KML
다음내 전체 .htacess :
# Turn on URL rewriting
RewriteEngine On
# Installation directory
RewriteBase/
# Protect hidden files from being viewed
<Files .*>
Order Deny,Allow
Deny From All
</Files>
# Protect application and system files from being viewed
RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT]
RewriteRule ^kml\.kml$ kml
아니요, 저는 두렵지 않습니다. / – Himmators