Re: [CentOS] Apache DirectoryIndex

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



Everything is an option. That's why I like Linux! :)

DirectoryIndex seems to be the easiest and most direct route, since it can be
set on a directory-by-directory basis. I was hoping someone could point out
either my mistake or some hidden Apache behavior.

Thanks for the suggestion.

Kirk Bocek

Barry Brimer wrote:
>> I'd like to change the DirectoryIndex document for just the
>> DocumentRoot, leaving the default DirectoryIndex setting for all other
>> directories. However, when I set DirectoryIndex in the <Directory
>> "/var/www/html"> section of /etc/httpd/conf/httpd.conf it seems to set
>> it for *all* directories.
>>
>> DirectoryIndex doesn't seem to be allowed in .htaccess either.
> 
> It seems like something that could be done with mod_rewrite or a
> RedirectMatch.  Are those options for you?
> 
> Barry
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux