Improve htaccess

Improve htacess file.
This commit is contained in:
Danang Probo Sayekti 2014-02-21 14:34:24 +07:00
commit d118e4f84f
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# Follow symbolic links in this directory.
Options +FollowSymLinks
# Make HTMLy handle any 404 errors.
ErrorDocument 404 /index.php
@ -78,7 +84,7 @@ DirectoryIndex index.php index.html index.htm
# Pass all requests not referring directly to files in the filesystem to index.php.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
RewriteRule . index.php [L]
</IfModule>

View file

@ -36,6 +36,7 @@ Features
- Responsive design
- Lightbox
- User role
- Online backup
Requirements
------------