Forum Moderators: phranque
I am in need for some RewriteRule expressions to cater for URLs of the following form
http://www.example.com
http://www.example.com/abc
http://www.example.com/abc/file.html
http://sub.example.com
http://sub.example.com/def
http://sub.example.com/def/file.html
In all these cases, the URL should be rewritten simply to
/index.php
Also, in the case of the URLs like
http://www.example.com/abc
http://sub.example.com/def
I need to ensure a trailing slash is added to these.
Your advice appreciated.
[edited by: jdMorgan at 1:22 am (utc) on Oct. 2, 2005]
[edit reason] example.com [/edit]