Re: httpd - Multiple index files?

2016-05-12 Thread Romain
Thank you very much! I will look into that. On Thu, 12 May 2016 12:54:02 +0200 Erling Westenvik wrote: On Thu, May 12, 2016 at 10:18:09AM +, Romain wrote: > Allright. > Thanks for your answer. Have a look at this thread: https://github.com/reyk/httpd/issues/27 And my example wou

Re: httpd - Multiple index files?

2016-05-12 Thread Stuart Henderson
On 2016-05-12, Erling Westenvik wrote: > Not that I'm aware of. Anyway: Such logic should be part of your > application, not the web server since it would just add unnecessary and > ambiguos complexity to the latter. > >> Or should I do it in another way? > > You could try something like this: >

Re: httpd - Multiple index files?

2016-05-12 Thread Erling Westenvik
On Thu, May 12, 2016 at 10:18:09AM +, Romain wrote: > Allright. > Thanks for your answer. Have a look at this thread: https://github.com/reyk/httpd/issues/27 And my example would probably be better this way: > On Thu, 12 May 2016 11:40:10 +0200 > Erling Westenvik wrote: > > On Thu, May

Re: httpd - Multiple index files?

2016-05-12 Thread Romain
Allright. Thanks for your answer. On Thu, 12 May 2016 11:40:10 +0200 Erling Westenvik wrote: On Thu, May 12, 2016 at 12:04:50AM +, Romain wrote: > Is it possible to supply multiple index files to the directory index > directive? I mean, I would like to write something like that in >

Re: httpd - Multiple index files?

2016-05-12 Thread Erling Westenvik
On Thu, May 12, 2016 at 12:04:50AM +, Romain wrote: > Is it possible to supply multiple index files to the directory index > directive? I mean, I would like to write something like that in > httpd.conf: > >directory index "index.html" "index.php" > > which would mean that, if the

httpd - Multiple index files?

2016-05-11 Thread Romain
Hi there, Is it possible to supply multiple index files to the directory index directive? I mean, I would like to write something like that in httpd.conf: directory index "index.html" "index.php" which would mean that, if the directory contains "index.html", then the server should