I need a rewrite or redirect rule to *.html requests except index.html to index.html.
I have used a blanket negative lookahead before: RedirectMatch permanent ^/foo/bar/(?!index.html$) http://www.example.com/foo/bar/index.html But I can’t find how to correctly modify the pattern to limit the redirect to match just *.html Darryl Baker
(he/him/his) Sr. System Administrator Distributed Application Platform Services Northwestern University 1800 Sherman Ave. Suite 6-600 – Box #39 Evanston, IL 60201-3715 (847) 467-6674 |