Apache HTTP server Rewrite Rule: everything to main directory "/"
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/$
RewriteRule . / [R=302,L]
RewriteCond %{REQUEST_URI} !^/$
RewriteRule . / [R=302,L]
Paweł Szaga home page
Apache HTTP server Rewrite Rule: everything to main directory "/"