Posts

Showing posts with the label proxy

302 redirects behind SSL reverse proxy

302 redirects behind SSL reverse proxy Problem You have a web server running plain http behind an Apache reverse proxy running https. Your application uses 302 redirects to announce new URLs or whatever the reason is for doing so. The client will be redirected a plain http url. Solution You can create a Vhost listenig for plain http and all that it does is redirect the clients to https, like this: NameVirtualHost *:80 <VirtualHost *:80>    ServerName www.example.com    Redirect permanent / https://secure.example.com/ </VirtualHost> This way, the client is redirected to the plain http by the proxied server and then redirected back to https by the proxy server. Another solution is to use mod_rewrite: RewriteEngine On # This will enable the Rewrite capabilities RewriteCond %{HTTPS} !=on # This checks to make sure the connection is not already HTTPS RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] # This rule will redirect users from their original locatio...

4 14 Leaders By Proxy

Image
4 14 Leaders By Proxy Blizzards newly revealed Demon Hunter wanders the convention center, BlizzCon 2010 Guildies For Days Two men stood on the steps of the Anaheim Convention Center. The first, easily six feet tall, wore a pair of rectangular glasses similar to my own, had thinning hair, and bore a tanned complexion that only nerds local to California could enjoy the luxury of. The other was shorter than I, a bit paler, with more meat on him. His black hair was thick and curly, and greeted me with a smile more appropriately described as a smirk. Both were guildies, both also former Avatars, acknowledged for their exceptional contribution and dedication to the guild. Both members of the 10-Man squad recently tasked with rolling Alliance alts and defeating the Lich King "because they could." One was Moolickalot, and the other was... "Drecca?" I presumed, pointing. The shorter of the two gave a single wave. "You, my friend, are the savior of the guild." He n...