diff --git a/.htaccess b/.htaccess
index e17b516..a785288 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,34 +1,37 @@
-# Disable server signature
ServerSignature Off
+Options -Indexes
+Options -MultiViews
# Enable CORS across all your subdomains (replace dev\.local with your domain\.com)
# SetEnvIf Origin ^(https?://.+\.dev\.local(?::\d{1,5})?)$ CORS_ALLOW_ORIGIN=$1
# Header append Access-Control-Allow-Origin %{CORS_ALLOW_ORIGIN}e env=CORS_ALLOW_ORIGIN
# Header merge Vary "Origin"
-# Disable directory listing (-indexes), Multiviews (-MultiViews)
-Options -Indexes
-Options -MultiViews
+
+
+ Order Allow,Deny
+ Deny from all
+
+
+ Require all denied
+
+
-
RewriteEngine On
-
# If you have problems with the rewrite rules remove the "#" from the following RewriteBase line
# You will also have to change the path to reflect the path to your Chevereto installation
- # If you are using alias is most likely that you will need this.
+ # If you are using mod alias is likely that you will need this.
#RewriteBase /
# 404 images
- # If you want to have your own fancy "image not found" image remove the "#" from RewriteCond and RewriteRule lines
+ # If you want to have your own fancy "image not found" image remove the # from RewriteRule
# Make sure to apply the correct paths to reflect your current installation
RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule images/.+\.(gif|jpe?g|png|bmp|webp) - [NC,L,R=404]
#RewriteRule images/.+\.(gif|jpe?g|a?png|bmp|webp) content/images/system/default/404.gif [NC,L]
+ RewriteRule images/.+\.(gif|jpe?g|png|bmp|webp) - [NC,L,R=404]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_URI} !\.(css|js|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpe?g|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|webp|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$ [NC]
RewriteRule . index.php [L]
-
\ No newline at end of file
diff --git a/app/.htaccess b/app/.htaccess
index 9753eba..0f2e6fb 100644
--- a/app/.htaccess
+++ b/app/.htaccess
@@ -1,11 +1,27 @@
-
- # Apache 2.2
+
+
+ Order Allow,Deny
+ Deny from all
+
+
+ Require all denied
+
+
+
Order Allow,Deny
Deny from all
- # Apache 2.4
Require all denied
-
-
\ No newline at end of file
+
+
+
+ php_flag engine off
+
+
+ SetHandler !
+
+
+ RewriteRule ^.*\.php$ - [F,L]
+
\ No newline at end of file
diff --git a/app/content/.htaccess b/app/content/.htaccess
new file mode 100644
index 0000000..c550f63
--- /dev/null
+++ b/app/content/.htaccess
@@ -0,0 +1,27 @@
+
+
+ Order Allow,Deny
+ Deny from all
+
+
+ Require all denied
+
+
+
+
+ Order Allow,Deny
+ Deny from all
+
+
+ Require all denied
+
+
+
+ php_flag engine off
+
+
+ SetHandler !
+
+
+ RewriteRule ^.*\.php$ - [F,L]
+
\ No newline at end of file
diff --git a/images/.htaccess b/images/.htaccess
index 2fdb79b..0f2e6fb 100644
--- a/images/.htaccess
+++ b/images/.htaccess
@@ -1 +1,27 @@
-SetHandler default-handler
\ No newline at end of file
+
+
+ Order Allow,Deny
+ Deny from all
+
+
+ Require all denied
+
+
+
+
+ Order Allow,Deny
+ Deny from all
+
+
+ Require all denied
+
+
+
+ php_flag engine off
+
+
+ SetHandler !
+
+
+ RewriteRule ^.*\.php$ - [F,L]
+
\ No newline at end of file
diff --git a/importing/.htaccess b/importing/.htaccess
index 2fdb79b..327e49e 100644
--- a/importing/.htaccess
+++ b/importing/.htaccess
@@ -1 +1,7 @@
-SetHandler default-handler
\ No newline at end of file
+
+ Order Allow,Deny
+ Deny from all
+
+
+ Require all denied
+
\ No newline at end of file
diff --git a/lib/G/.htaccess b/lib/G/.htaccess
index 0ba915f..9e20371 100644
--- a/lib/G/.htaccess
+++ b/lib/G/.htaccess
@@ -1,9 +1,7 @@
-# Apache 2.2
Order Allow,Deny
Deny from all
-# Apache 2.4
Require all denied
\ No newline at end of file