FAQ |
Kalender |
![]() |
#6 | ||
|
|||
Nykomling
|
# Block access to "hidden" directories whose names begin with a period. This
# includes directories used by version control systems such as Subversion or Git. <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html # Replace html with your file extension, eg: php, htm, asp</IfModule> Har jag i min befintliga .htaccess jag fick från boilerplate. |
||
![]() |
![]() |
Ämnesverktyg | |
Visningsalternativ | |
|
|