Forum Moderators: phranque
RewriteCond %{REQUEST_URI} ^[^\.]+/(/+)$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [R=301,L]
Apparently my host runs 'Apache 3 - <host's name>' - I've not heard of it before.
[edited by: jdMorgan at 12:38 am (utc) on Jan. 23, 2008]
[edit reason] Obscured hosting company [/edit]
Also note that if the RewriteCond is met, $1 is equal to the original URL-path, so it will indeed redirect to the same URL-path.
See this old thread for double-slash removal: [webmasterworld.com...]
Jim