Having a bit of a problem with this set of rules: Right now i have it working except for the middle one.
RewriteRule ^/foo/?$ "/foo/Test"
RewriteRule ^/foo/(.*)/?!.*$ "/foo/$1/Test"
RewriteRule ^/foo/(.*)/(a-z)/?$ "/foo/$1/$2" [NC]
What I am trying to do is
- If just /foo, go to /foo/Test
- If /foo/(Something)/(But nothing here) go to /foo/(Something)/Test
- If /foo/(Something)/(Somethingelse) go to /foo/(Something)/(Somethingelse)
I can not [L] any of these, so it must be done without that.