Posts

Showing posts with the label behind

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 06 And those we left behind

Image
4 06 And those we left behind Un sogno dolorosamente bello ricorda a Peter ci� che, suo malgrado, si � lasciato alle spalle e che, come per i protagonisti dell�episodio, non pu� fare a meno di tentare di riavere. Il filo che unisce questo episodio a 4.06 Novation e, ancora una volta, a 2.18 White Tulip, ha la forma della spirale aurea di Fibonacci come la posizione geografica degli eventi Fringe che si stanno verificando. Del resto la storia che si ripete, sempre uguale ma con piccole differenze, � alla base di tutta la costruzione narrativa dello show. E a quanto pare del comportamento degli uomini che, pur di salvaguardare ci� che amano, si ostinano a non valutare le conseguenze delle proprie azioni. Un episodio che, a prescindere dal �Tema della Settimana�, integra attivamente il ruolo di Peter nel team in cui inizia ad essere pi� o meno accettato, facendo breccia anche nella scorza di rabbia e dolore di Walter che, seppur costretto alla collaborazione, ne riconosce merito e...