Загрузил файл

This commit is contained in:
Batareiken 2024-02-28 23:14:22 +00:00
parent a2fa0d98c2
commit 3dc5f6798d
1 changed files with 16 additions and 0 deletions

16
htdocs/.htaccess Normal file
View File

@ -0,0 +1,16 @@
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 month"
ExpiresByType image/jpeg "access 1 month"
ExpiresByType image/gif "access 1 month"
ExpiresByType image/png "access 1 month"
ExpiresDefault "access 1 week"
Header set Access-Control-Allow-Origin "*"
</IfModule>
RewriteEngine on
# Redirect everything to the public directory
RewriteRule ^(.*)$ /public/$1 [L]