php_flag  log_errors on
php_value error_reporting -1
php_value error_log ./../../log/php-compile-error.log

RewriteEngine On

# https
RewriteCond %{HTTPS} on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]

# static
RewriteCond %{REQUEST_URI} !\.html$
RewriteCond %{DOCUMENT_ROOT}/static%{REQUEST_URI} -f
RewriteRule . /static%{REQUEST_URI} [L]

# html & php
RewriteCond %{REQUEST_URI} !\.php$
RewriteRule .* index.php [L,QSA]
