Re: Issue with DirectoryIndex

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

 



  Hi John,
            As there was so much to read through in the responses to
   your question - If I missed this solve, I'm sorry..

  > I am having an issue with the DirectoryIndex.

       I had a similar problem recently.  I had my DirectoryIndex
  in the order I wanted in the conf file and it worked fine for
  hundreds of years ;) until I upgraded to a newer distro.
  I found I had to NOW add my unique DirectoryIndex order into
  the 'dir.conf' in the /apache2/mods-enabled directory as a
   <IfModule dir_mod.c> instead of a <IfModule dir_module>

       As you may be able to tell, I'm running on a Linux (UNIX clone)
  server but I'm sure your wimpdows system uses the same filenames/DIRs

       If your dir.conf file is empty, just enter the index files you
  need (you may want to include all the index files you may use.
  Notice, in my example, I have the .html last so the others are
  looked for first..  I use perl a lot, so I have that first..

  e.g.
   <IfModule mod_dir.c>
       DirectoryIndex index.pl index.php index.shtml index.html
   </IfModule>
                      Hope this helps in your case,
--
                                                      Nick. . .

   _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
                        .  .  .  .  .  .  .  .
   Soon to Launch: 99cHosting.com 50pHosting.co.uk and 75cHosting.eu
          -=[  The prices are great - as is the service  ]=-
                        .  .  .  .  .  .  .  .
   ...---... (Stamp Out Spam and Save Our Servers)  http://sosNow.ws
                        .  .  .  .  .  .  .  .
   _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux