I'm trying to put working this Rewrite rules:
rewriteRule ^/projects/+$ /projects/index.html [L]
rewriteCond /home/tenak/lib/trac/$1 -d
rewriteRule ^/projects/([[:alnum:]]+)(/?.*) /cgi-bin/trac.cgi$2 [S=1,E=TRAC_ENV:/home/tenak/trac/$1]
rewriteRule ^/projects/(.*) /projects/index.html
Instead the expected result, I get a 404 when try to access /projects/foo
I have also tried with Rewrite* (R capitalized).
What I'm doing wrong?