[users@httpd] Re: option indexes and rewrite

2013-05-25 Thread Robert Cailliau
Hi Pete, Thank you for your fast reply: > I would use DirectoryIndex and mod_autoindex for this and certainly >would not go anywhere near mod_rewrite. > > DirectoryIndex" c-en.html" No, that does alas not achieve my goal at all. In my request I could of course not give a l

[users@httpd] option indexes and rewrite

2013-05-25 Thread Robert Cailliau
I'm new to httpd.conf (apache 2.0) I want the server to respond in one of two ways to a request that looks like a directory. e.g. if the request is *http://localhost/a/b/c/* then: (1) if a file with name "* c-en.html*" exists inside directory *c*, then it should serve that, (2) if that file does no