Il 20 agosto 2012 11:56, Michele Mordenti <[email protected]> ha scritto: > Si può fare di meglio?
Certamente si! Per il momento ho trovato un errore nella rules di login che non intercetta una login su un deep link, quale ad esempio: http://example.domain.com/plonetest/risorsaPlonesca/login Per fare in modo che venga rediretta anche la login sulla specifica risorsa basta questo fix: configurazione apache per HTTP: # Redirigo su HTTPS alla richiesta di login dell'utente: -RewriteRule ^/plonetest/login(.*)$ https://%{SERVER_NAME}/plonetest/login$1 [R,L] +RewriteRule ^/plonetest(.*)/login(.*)$ https://%{SERVER_NAME}/plonetest$1/login$2 [R,L] configurazione apache per HTTPS: -RewriteCond %{REQUEST_URI} ^/plonetest/login.* [OR] -RewriteCond %{REQUEST_URI} ^/plonetest/logged_in.* [OR] -RewriteCond %{REQUEST_URI} ^/plonetest/logged_out.* [OR] +RewriteCond %{REQUEST_URI} ^/plonetest(.*)/login.* [OR] +RewriteCond %{REQUEST_URI} ^/plonetest(.*)/logged_in.* [OR] +RewriteCond %{REQUEST_URI} ^/plonetest(.*)/logged_out.* [OR] Cattivoni, come mai non me lo avevate detto! -- Michele Mordenti _______________________________________________ Plone-IT mailing list [email protected] https://lists.plone.org/mailman/listinfo/plone-plone-it http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
