nima-kian 1 ارسال شده در آبان 97 گزارش بازنشر ارسال شده در آبان 97 سلام دوستان مدتی هست که داخل هاست سایت بنده فایل error_log حجم خیلی زیادی اشغال میکنه. php_flag log_errors Off این کد رو اضافه کردم فعلا مشکل حل شده فایل .htaccess رو دیدم یکسری کد بهش اضافه شده میتونید راهنمایی کنید که این کد ها چه کاری رو انجام میدن؟ <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^\/(homodyne)([0-9]+)-([0-9]+)\/$ ?homodyne$2=$3&%{QUERY_STRING}[L] RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # BEGIN Compress text files <ifModule mod_deflate.c> <filesMatch "\.(css|js|x?html?|php|woff|ttf|png|jpg|gif)$"> SetOutputFilter DEFLATE </filesMatch> </ifModule> # END Compress text files # Set Expires headers ExpiresActive On ExpiresDefault "access plus 1 years" ExpiresByType text/html "access plus 1 second" ExpiresByType image/gif "access plus 2592000 seconds" ExpiresByType image/jpeg "access plus 2592000 seconds" ExpiresByType image/jpg "access plus 2592000 seconds" ExpiresByType image/png "access plus 2592000 seconds" ExpiresByType image/x-icon "access plus 2592000 seconds" ExpiresByType text/css "access plus 604800 seconds" ExpiresByType text/javascript "access plus 604800 seconds" ExpiresByType application/x-javascript "access plus 604800 seconds" php_value upload_max_filesize 64M php_value post_max_size 64M php_value max_execution_time 300 php_value max_input_time 300 لینک به ارسال
پست های پیشنهاد شده
لطفا برای ارسال دیدگاه وارد شوید
شما بعد از اینکه وارد حساب کاربری خود شدید می توانید دیدگاهی ارسال کنید
ورود به حساب کاربری