mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 20:46:26 +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.
|
# Make HTMLy handle any 404 errors.
|
||||||
ErrorDocument 404 /index.php
|
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.
|
# 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
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule ^ index.php [L]
|
RewriteRule . index.php [L]
|
||||||
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ Features
|
||||||
- Responsive design
|
- Responsive design
|
||||||
- Lightbox
|
- Lightbox
|
||||||
- User role
|
- User role
|
||||||
|
- Online backup
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue