xxb/www/.ztaccess
2023-10-23 15:51:36 +08:00

31 lines
827 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Options +FollowSymLinks +SymLinksIfOwnerMatch
# framework router settings.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*)$ /xxb/index.php/$1 [L]
</IfModule>
# php settings.
php_value post_max_size 50M
php_flag file_uploads On
php_value upload_max_filesize 50M
php_value display_errors 1
# for post vars limit.
php_value max_input_vars 100000
# yslow settings.
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType image/x-icon A2592000
ExpiresByType application/javascript A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A604800
</IfModule>
FileEtag none