« Back to latest posts

Archive for March, 2009

Apache rewrite rules to force secure/non-secure pages

Sunday, March 29th, 2009

If you’re running an Apache server there’s no need to hard code your links to force https/http or write server-side code. A few simple rewrite rules will allow you to redirect your secure pages to https and your non-secure pages back to http.

Tags:
Posted in Code | 4 Comments »