.htaccess: cleanup

This commit is contained in:
Milan
2020-11-14 19:02:31 +01:00
parent cfe9059adb
commit a4e480fb16
5 changed files with 0 additions and 42 deletions

View File

@@ -104,8 +104,6 @@ Options -Indexes +FollowSymLinks +MultiViews +ExecCGI
AddHandler cgi-script .cgi .pl AddHandler cgi-script .cgi .pl
</IfModule> </IfModule>
#Order allow,deny
#allow from all
Require all granted Require all granted
## compress ## compress

View File

@@ -1,17 +1,2 @@
Options -Indexes +FollowSymLinks +MultiViews -ExecCGI Options -Indexes +FollowSymLinks +MultiViews -ExecCGI
#Order allow,deny
#allow from all
Require all granted Require all granted
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 minutes"
</IfModule>
<IfModule mod_headers.c>
<FilesMatch "\.(jpg|jpeg|png|gif|js|css|swf)$">
# Header set Cache-Control "public"
Header set Cache-Control "max-age=600, public"
</FilesMatch>
</IfModule>

View File

@@ -1,10 +1,2 @@
Options -Indexes +FollowSymLinks +MultiViews -ExecCGI Options -Indexes +FollowSymLinks +MultiViews -ExecCGI
#Order allow,deny
#allow from all
Require all granted Require all granted
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 10 minutes"
</IfModule>

View File

@@ -1,17 +1,2 @@
Options -Indexes +FollowSymLinks +MultiViews -ExecCGI Options -Indexes +FollowSymLinks +MultiViews -ExecCGI
#Order allow,deny
#allow from all
Require all granted Require all granted
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 10 minutes"
</IfModule>
<IfModule mod_headers.c>
<FilesMatch "\.(jpg|jpeg|png|gif|js|css|swf)$">
# Header set Cache-Control "public"
Header set Cache-Control "max-age=600, public"
</FilesMatch>
</IfModule>

View File

@@ -1,3 +1 @@
#Order deny,allow
#deny from all
Require all denied Require all denied