Tagged: .htaccess RSS

  • Nathan Haskins 12:35 pm on July 26, 2010 Permalink | Reply
    Tags: .htaccess, ssl   

    force SSL addresses with .htaccess 

    pretty simple, added this to .htaccess:

    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://mywebsite.com/$1 [R,L]
    
     
  • Nathan Haskins 12:26 pm on May 10, 2010 Permalink | Reply
    Tags: .htaccess, .vcf,   

    MIME for .vcf files can be hit or miss. Simplehelix’s justin goldsmith figured out the solution:

    modify .htaccess…
    IE/Safari/FF fix: AddType application/octet-stream .vcf

     
  • Nathan Haskins 10:07 am on May 3, 2010 Permalink | Reply
    Tags: .htaccess,   

    the simplehelix (max) account uses .htaccess, no access to php.ini… had to setup some max timeouts so i used the following in a .htaccess file in the sites root directory:

    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value max_execution_time 200
    php_value max_input_time 200

    That should do it in theory.