From c8559f7a20e037dc5ff7cce92250777eda4a8977 Mon Sep 17 00:00:00 2001 From: v3d Date: Mon, 9 May 2022 16:53:02 +0000 Subject: [PATCH] Update .htaccess --- home/pi/pivilion/config/html/.htaccess | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/home/pi/pivilion/config/html/.htaccess b/home/pi/pivilion/config/html/.htaccess index fac117b..4a75f80 100644 --- a/home/pi/pivilion/config/html/.htaccess +++ b/home/pi/pivilion/config/html/.htaccess @@ -2,4 +2,13 @@ RewriteEngine on RewriteCond %{REQUEST_URI} !(\/index\.php)$ RewriteCond %{REQUEST_URI} !(\/pi-logo_128\.png)$ RewriteCond %{REQUEST_URI} !(\/content\/.*)$ +RewriteCond %{REQUEST_URI} !(\/css\/.*)$ +RewriteCond %{REQUEST_URI} !(\/doc\/.*)$ +RewriteCond %{REQUEST_URI} !(\/docker\/.*)$ +RewriteCond %{REQUEST_URI} !(\/img\/.*)$ +RewriteCond %{REQUEST_URI} !(\/js\/.*)$ +RewriteCond %{REQUEST_URI} !(\/modules\/.*)$ +RewriteCond %{REQUEST_URI} !(\/tests\/.*)$ + + RewriteRule ^(.*)$ http://10.1.1.1/index.php [L,R=301]