httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] DirectoryIndex for a specific index
Date Tue, 09 Nov 2010 23:54:07 GMT
On Tue, Nov 9, 2010 at 3:08 PM, Tim Johnson <tim@johnsons-web.com> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



-- 
Eric Covener
covener@gmail.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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message