I looked around for an answer, but I could not find one that would work for me.
I have this:
RewriteRule ^(.*)/?$ example.php?option=$1 [L]
What I want is this:
http://example.com/foo/bar/ > http://example.com/example.php?option=foo/bar
http://example.com/foo/bar > http://example.com/example.php?option=foo/bar
But what is happening is this:
http://example.com/foo/bar/ > http://example.com/example.php?option=foo/bar/
http://example.com/foo/bar > http://example.com/example.php?option=foo/bar
So, when there is a trailing slash, it adds it to the option it sends to the PHP file, but I don't want it to remove it. Any ideas?