mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 19:46:21 +05:30
Improve htaccess
Improve htacess file.
This commit is contained in:
parent
e5d718dc6d
commit
d118e4f84f
2 changed files with 9 additions and 2 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ Features
|
|||
- Responsive design
|
||||
- Lightbox
|
||||
- User role
|
||||
- Online backup
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue