Sub Index

This commit is contained in:
JonatanRek 2020-04-21 19:34:45 +02:00
parent 1e6fe2a00e
commit ba836c9573

View File

@ -1,14 +1,12 @@
Options -Indexes
Options -MultiViews -Indexes
RewriteEngine On RewriteEngine On
RewriteBase /vasek/home-update/ RewriteBase /vasek/home-update/
DirectoryIndex ./public/index.php
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !.css RewriteCond %{REQUEST_FILENAME} !.css
RewriteCond %{REQUEST_FILENAME} !.js RewriteCond %{REQUEST_FILENAME} !.js
RewriteRule (.*) public/index.php?url=$1 [QSA,L] RewriteRule (.*) ./public/index.php?url=$1 [QSA,L]
RewriteCond %{HTTPS} off RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_FILENAME} !api.php RewriteCond %{REQUEST_FILENAME} !api.php