0
嗨,大家好,我正在使用這個,我知道htaccess正在工作,因爲它重定向到notfound.php但由於某種原因,我無法讓它工作不顯示擴展名(PHP/HTML)的任何幫助這裏?htaccess刪除擴展
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
Options Indexes
ErrorDocument 404 notfound.php
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.socialscenes\.co\.uk)(:80)? [NC]
RewriteRule ^(.*) http://socialscenes.co.uk/$1 [R=301,L]
DirectoryIndex index.php
order deny,allow