<FilesMatch "(.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(.php)?|xtmpl))$">
Order allow,deny
</FilesMatch>
<FilesMatch "(code-style.pl|Entries.*|Repository|Root|Tag|Template)$">
Order allow,deny
</FilesMatch>
ErrorDocument 404 /index.php
##direktori index sebetulnya sudah default
DirectoryIndex index.php
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A1209600
ExpiresByType text/html A1
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
##drupal terinstal di direktori mana relatif
##terhadap root document. jika ada di root document
##tulis RewriteBase seperti di bawah ini.
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q-$1 [L,QSA]
</IfModule>
Subscribe
0 Comments
Oldest