File manager - Edit - /home/webapp69.cm.in.th/u69319090039/Shop39/.htaccess
Back
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ index.php [QSA,L] </IfModule> # Force UTF-8 encoding for all PHP files AddDefaultCharset UTF-8 <IfModule mod_php7.c> php_value default_charset "UTF-8" php_value mbstring.internal_encoding "UTF-8" php_value upload_max_filesize "10M" php_value post_max_size "12M" php_value max_execution_time "60" </IfModule> <IfModule mod_php8.c> php_value default_charset "UTF-8" php_value mbstring.internal_encoding "UTF-8" php_value upload_max_filesize "10M" php_value post_max_size "12M" php_value max_execution_time "60" </IfModule> # ====================================================== # ⚡ PERFORMANCE: Gzip Compression # ====================================================== <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript AddOutputFilterByType DEFLATE application/json application/xml application/xhtml+xml AddOutputFilterByType DEFLATE font/ttf font/otf image/svg+xml </IfModule> # ====================================================== # ⚡ PERFORMANCE: Browser Cache (Static Assets) # ====================================================== <IfModule mod_expires.c> ExpiresActive On # Images: cache 30 วัน ExpiresByType image/jpeg "access plus 30 days" ExpiresByType image/png "access plus 30 days" ExpiresByType image/gif "access plus 30 days" ExpiresByType image/webp "access plus 30 days" ExpiresByType image/svg+xml "access plus 30 days" ExpiresByType image/x-icon "access plus 30 days" # CSS & JS: cache 7 วัน ExpiresByType text/css "access plus 7 days" ExpiresByType text/javascript "access plus 7 days" ExpiresByType application/javascript "access plus 7 days" # Fonts: cache 30 วัน ExpiresByType font/ttf "access plus 30 days" ExpiresByType font/otf "access plus 30 days" ExpiresByType font/woff "access plus 30 days" ExpiresByType font/woff2 "access plus 30 days" </IfModule> # ปิด ETag (ลดขนาด Header) <IfModule mod_headers.c> Header unset ETag FileETag None </IfModule>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings