RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L] # default permissions allow from all # uncomment this to take the website offline #RedirectMatch ^.*$ https://www.williamfeely.info/ # Set Our Default Directory Index DirectoryIndex index.php # 404 not found document # ErrorDocument 404 http://www.winehq.org/site/404 # Modify the PHP configuration (global vars, etc.) php_flag allow_call_time_pass_reference 1 php_value error_reporting "1" php_value html_errors "1" php_value display_errors "1" php_value register_globals 0 php_value short_open_tag 0 php_value register_long_arrays 0 php_value magic_quotes_gpc 0 php_flag zlib.output_compression on # make sure gc_probability is non-zero, we want php to take care of # session cleanup for us php_value session.gc_probability 1 # lower the probability of calling garbage collection # the appdb gets so many hits we want to increase the divisor above 100 php_value session.gc_divisor 2000