.htaccess: cleanup
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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>
|
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1 @@
|
|||||||
#Order deny,allow
|
|
||||||
#deny from all
|
|
||||||
Require all denied
|
Require all denied
|
||||||
|
|||||||
Reference in New Issue
Block a user