Re: DirectoryIndex for a specific index

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

 



On Tue, Nov 9, 2010 at 3:08 PM, Tim Johnson <tim@xxxxxxxxxxxxxxxx> wrote:
> Platform is ubuntu 10.04
> in my /etc/apache2/mods-available/dir.conf,
> I have the following ::
>
> <IfModule mod_dir.c>
>  DirectoryIndex index.html index.php index.py index.cgi index.pl index.xhtml index.htm
> </IfModule>
>
> Is it possible to to set directory files names specific to the
> directory:
> Example::
> for
> mydomain/foo1 I could have index_foo1.html index_foo1.php ... etc
>
> for
> mydomain/foo2 I could have index_foo2.html index_foo2.php ... etc
>
> URLs to documentation, keywords or discussions would be sufficient.
> thanks

of course you can manually do this by using DirectoryIndex inside of
<Directory> or <Location>, but if you've got more than a few maybe you
want to look at mod_macro.


> --
> Tim
> tim at johnsons-web.com or akwebsoft.com
> http://www.akwebsoft.com
>
> ---------------------------------------------------------------------
> 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
>
>



-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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