17 lines
422 B
ApacheConf
Executable File
17 lines
422 B
ApacheConf
Executable File
<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]
|
|
|