I'm trying to redirect (internally) example.com/snippets/_filename_
to example.com/snippets/?f=_filename_
using mod_rewrite
... And it is not working.
The contents of my .htaccess file, which is placed inside of the snippets
directory are:
RewriteEngine On
RewriteRule ^snippets/([^/\.]+)$ /snippets/?f=$1 [L]
This solution, but it doesn't seem to work on my Apache 2.4 server, and instead causes a 404 Error.