[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

Re: [users@httpd] option indexes and rewrite

2013-05-25 Thread Pete Houston
I would use DirectoryIndex and mod_autoindex for this and certainly would not go anywhere near mod_rewrite. DirectoryIndex " c-en.html" Options +Indexes I'd humbly suggest however that you try to avoid filenames with leading spaces. As you are new to it, it is also worth pointin