I don't write conditional rewrite rules often but this is a case where I need one. My customer wants the affect of:
RedirectMatch permanent ^/foo/bar/(.*)$ http<http://www.example.com/foo/bar/index.html>://www.example.com/foo/bar/file.html<http://www.example.com/foo/bar/index.html> Which would of course create a redirect loop. What I want is a conditional rewrite or redirect rule which would send requests for http://www.example.com/foo/bar/<http://www.example.com/foo/bar/>{any file or path} except http://www.example.com/foo/bar/file.html<http://www.example.com/foo/bar/file.html> to http://www.example.com/foo/bar/file.html. Anyone solved this already and is willing to share? Darryl Baker Sr. System Administrator Distributed Application Platform Services Project Management Office and Enabling Technologies Northwestern | Information Technology 1800 Sherman Ave., Suite 600 Evanston, IL 60201-3715 (847) 467-6674 www.it.northwestern.edu
