[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] [Qube2] DirectoryIndex



Hello List,

  I am trying to have index.php3 as the default file delivered by
  Apache when somebody ask for a directory without a file name...
  
  1/ I edited srm.conf to make it:
  DirectoryIndex index.html index.php index.php3
  2/ I did stop/restart the http server (I even rebooted the QUbe)
  -->does not work
  3/I even tried :
  DirectoryIndex index.php3
  -->same
  4/Then I added an .htaccess file in the directory where I want this
  to work with the same command as in 1/
  -->works fine so I guess my syntax is ok

  Has somebody done this through the srm.conf file or does somebody
  have an idea why it does not work ?
  I checked in the KB, 1/ is the way they recommend.

  Also, while I'm here, does somebody know of a book explaining all
  the tricks about .htaccess files. I've got "Webmaster in a Nutshell"
  by O'Reilly, even though they are explaining all the directives for
  the Apache conf files, they don't tell which one you can use in
  .htaccess files, what are the priorities between conf files and
  .htaccess and also what is the scope of an .htacces file (only the
  dir where it sits or also the sub-directories below ?)

  TIA
-- 
Regards,
 Pierre                          
 pierre@xxxxxxxxxxx