From ad3118799f4d53b0416998b966b783c453a5b4f7 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Thu, 19 Sep 2019 14:48:01 +0200 Subject: [PATCH] Some Configs --- .ftpignore | 5 +++++ .gitignore | 2 +- .htaccess | 13 +++++++++---- 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 .ftpignore diff --git a/.ftpignore b/.ftpignore new file mode 100644 index 0000000..ca0a4d1 --- /dev/null +++ b/.ftpignore @@ -0,0 +1,5 @@ +.git +_FIRMWARE +_INSTALATION +_README_IMG +README.md \ No newline at end of file diff --git a/.gitignore b/.gitignore index d8b4f59..a4ae604 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ _nemazat/index.html _nemazat/css/main.css.map _nemazat/css/main.css _nemazat/css/font-awesome.min.css -logs/*.log \ No newline at end of file +app/logs/*.log diff --git a/.htaccess b/.htaccess index f23fa1d..116dcb1 100644 --- a/.htaccess +++ b/.htaccess @@ -1,12 +1,17 @@ +Options -Indexes +Options -MultiViews -Indexes + RewriteEngine On RewriteBase /vasek/home/ -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME} !api.php +#RewriteCond %{REQUEST_FILENAME} !-f +#RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !.css RewriteCond %{REQUEST_FILENAME} !.js RewriteRule (.*) index.php?url=$1 [QSA,L] RewriteCond %{HTTPS} off -RewriteCond %{REQUEST_FILENAME} !api.php -RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] \ No newline at end of file +RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + +AddType application/x-httpd-php .php .phtml \ No newline at end of file