mod_rewrite, brainfart!
mod_rewrite, brainfart!
Out of context: Reply #4
- Started
- Last post
- 5 Responses
- rounce0
Cheers for changing my train of thought there acescence. It was that bloody preceeding slash!
RewriteCond %{REQUEST_URI} /api/(.*)\.([a-z]+)$
RewriteRule ^api/(.*)\.(.*)?$ api/$1/format/$2 [L]