rants, tirades, ruminations
cute HTTP Apache rewrite trick posted Tue, 08 Dec 2009 17:33:17 UTC
I ran across a rather neat trick over here recently. So I don't forget about it (since I will probably end up needing to use it at some point), I'm going to copy it here.
The idea is to avoid duplicate rules when handling both HTTP and HTTPS based URI's. The trick is as follows:
or the even shorter: