

RewriteEngine On
#RewriteCond %{HTTPS} !=on
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] 

RewriteRule ^authentication/logout?$ authentication/logout.php

RewriteRule ^([^/\.]+)/([^/\.]+)?$ layout/index.php?fol=$1&pag=$2 [QSA,L]

#RewriteRule ^([^/\.]+)/([^/\.]+)/([^/\.]+)?$ layout/index.php?fol=$1&pag=$2&$3