themobile/calculator-tarif-curier/master/.htaccess - Htaccess File

themobile/calculator-tarif-curier/master/.htaccess

RewriteEngine on

ErrorDocument 404 /404.html

RewriteCond %{HTTP_HOST} ^www.calculator-tarif-curierat.ro [NC]
RewriteRule ^(.*)$ http://calculator-tarif-curierat.ro/$1 [L,R=301]

ExpiresActive On
<FilesMatch ".(ico|jpg|jpeg|png|js/gif|js|css|swf)$">
ExpiresDefault "access plus 1 day"
</FilesMatch>

<IfModule mod_deflate.c>
# Insert filters
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

# Drop problematic browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html

# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary
</IfModule>
###Start Kloxo PHP config Area
###Please Don't edit these comments or the content in between. kloxo uses this to recognize the lines it writes to the the file. If the above line is corrupted, it may fail to recognize them, leading to multiple lines.

<Ifmodule mod_php4.c>
  php_value error_log "/home/admin/__processed_stats/ctc.ro.phplog"
  php_value upload_max_filesize 2M
  php_value max_execution_time  30
  php_value max_input_time  60
  php_value memory_limit  32M
  php_value post_max_size  8M
  php_flag register_globals  off
  php_flag display_errors  off
  php_flag file_uploads  on
  php_flag log_errors  on
  php_flag output_buffering  off
  php_flag register_argc_argv  on
  php_flag magic_quotes_gpc   off
  php_flag magic_quotes_runtime  off
  php_flag magic_quotes_sybase  off
  php_flag mysql.allow_persistent  off
  php_flag register_long_arrays  on
  php_flag allow_url_fopen  on
  php_flag cgi.force_redirect  on
  php_flag enable_dl  on
</Ifmodule>

<Ifmodule mod_php5.c>
  php_value error_log "/home/admin/__processed_stats/ctc.ro.phplog"
  php_value upload_max_filesize 2M
  php_value max_execution_time  30
  php_value max_input_time  60
  php_value memory_limit  32M
  php_value post_max_size  8M
  php_flag register_globals  off
  php_flag display_errors  off
  php_flag file_uploads  on
  php_flag log_errors  on
  php_flag output_buffering  off
  php_flag register_argc_argv  on
  php_flag magic_quotes_gpc   off
  php_flag magic_quotes_runtime  off
  php_flag magic_quotes_sybase  off
  php_flag mysql.allow_persistent  off
  php_flag register_long_arrays  on
  php_flag allow_url_fopen  on
  php_flag cgi.force_redirect  on
  php_flag enable_dl  on
</Ifmodule>

###End Kloxo PHP config Area

On Github License

Files

Download PDF of Htaccess file
DEFLATE, HTTP_HOST, no-gzip

Comments

Apache