ekamhara/BootStrap-A2Billing-custom-templates/master/customer/.htaccess - Htaccess File

ekamhara/BootStrap-A2Billing-custom-templates/master/customer/.htaccess

RewriteEngine on

# Check for POST Submission
RewriteCond %{REQUEST_METHOD} !^POST$

# Forcing HTTPS
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{SERVER_PORT} 80
# Pages to Apply
RewriteCond %{REQUEST_URI} ^something_secure [OR]
RewriteCond %{REQUEST_URI} ^something_else_secure
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

# Forcing HTTP
#RewriteCond %{HTTPS} =on [OR]
#RewriteCond %{SERVER_PORT} 443
# Pages to Apply
#RewriteCond %{REQUEST_URI} ^something_public [OR]
#RewriteCond %{REQUEST_URI} ^something_else_public
#RewriteRule .* http://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

On Github License

Files

Download PDF of Htaccess file
HTTPS, POST, REQUEST_METHOD, REQUEST_URI, SERVER_NAME, SERVER_PORT

Comments

Apache