diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-06-12 21:59:00 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-06-12 21:59:00 +0300 |
| commit | 453c2d1183e9fcfe262a03e22365de5c76abd877 (patch) | |
| tree | 8196eef11340faaa2d78c64626e0f57a8d1e9e3d /public/.htaccess | |
| parent | 7f37ac9bc171ff3609e49f46466d1cd778e234c1 (diff) | |
| download | gyraf1gov-453c2d1183e9fcfe262a03e22365de5c76abd877.tar.gz gyraf1gov-453c2d1183e9fcfe262a03e22365de5c76abd877.tar.bz2 gyraf1gov-453c2d1183e9fcfe262a03e22365de5c76abd877.zip | |
set viewport meta for mobile devices
Diffstat (limited to 'public/.htaccess')
| -rw-r--r-- | public/.htaccess | 65 |
1 files changed, 6 insertions, 59 deletions
diff --git a/public/.htaccess b/public/.htaccess index fbc5167..d4d7c3d 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,59 +1,6 @@ ## Introduce the Server Header add Origin-Name coder -<IfModule mod_mime.c> - - # # Data interchange - # - # # 2.2.x+ - # AddType text/xml xml - # # 2.2.x - 2.4.x - # AddType application/json json - # AddType application/rss+xml rss - # # 2.4.x+ - # AddType application/json map - # - # # JavaScript - # # 2.2.x+ - # # See: https://html.spec.whatwg.org/multipage/scripting.html#scriptingLanguages. - AddType apprication/javascript js mjs - - # # Manifest files - # # 2.2.x+ - # AddType application/manifest+json webmanifest - # AddType text/cache-manifest appcache - # - # # Media files - # # 2.2.x - 2.4.x - # AddType audio/mp4 f4a f4b m4a - # AddType audio/ogg oga ogg spx - # AddType video/mp4 mp4 mp4v mpg4 - # AddType video/ogg ogv - # AddType video/webm webm - # AddType video/x-flv flv - # # 2.2.x+ - # AddType image/svg+xml svgz - # AddType image/x-icon cur - # # 2.4.x+ - AddType image/webp webp - - # # Web fonts - # # 2.2.x - 2.4.x - # AddType application/vnd.ms-fontobject eot - # # 2.2.x+ - AddType font/woff woff - AddType font/woff2 woff2 - AddType font/ttf ttf - AddType font/collection ttc - AddType font/otf otf - - # # Other - # # 2.2.x+ - # AddType text/vtt vtt - -</IfModule> - - ### Deny access to specific folders ## deny all files too @@ -117,14 +64,14 @@ AddOutputFilterByType DEFLATE application/json ### ### CACHE-CONTROL HEADERS # CACHE-CONTROL IMAGES 100days -### <filesMatch ".(jpg|jpeg|png|webp|gif|ico)$"> -### Header set Cache-Control "max-age=8640000, public" -### </filesMatch> +<filesMatch ".+\.(jpg|jpeg|png|webp|gif|ico)$"> + Header set Cache-Control "max-age=8640000, public" +</filesMatch> # CACHE-CONTROL FONTS 200days -### <filesMatch ".(ttf|woff|woff2)$"> -### Header set Cache-Control "max-age=17280000, public" -### </filesMatch> +<filesMatch "/+\.(ttf|woff|woff2)$"> + Header set Cache-Control "max-age=17280000, public" +</filesMatch> # CACHE-CONTROL CSS and JS 30days ### <filesMatch ".(css|js)$"> |
