Browse Source

Improve htaccess

Improve htacess file.
pull/31/merge v1.7
Danang Probo Sayekti 11 years ago
parent
commit
d118e4f84f
2 changed files with 9 additions and 2 deletions
  1. +8
    -2
      .htaccess
  2. +1
    -0
      README.md

+ 8
- 2
.htaccess 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. # Make HTMLy handle any 404 errors.
ErrorDocument 404 /index.php ErrorDocument 404 /index.php
@ -77,8 +83,8 @@ DirectoryIndex index.php index.html index.htm
# Pass all requests not referring directly to files in the filesystem to index.php. # Pass all requests not referring directly to files in the filesystem to index.php.
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule> </IfModule>


+ 1
- 0
README.md View File

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


Loading…
Cancel
Save