httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex I" <alexiannuzz...@hotmail.com>
Subject Re: [users@httpd] Setting Directory Indexes
Date Thu, 19 Feb 2004 00:16:01 GMT
Ummm like this?

<Directory /alex/.htaccess>
    Options Indexes
    AllowOverride None
</Directory>

<Directory "C:/Program Files/Apache Group/Apache2/htdocs">
    Options -Indexes
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

I tried this and it still doesn't work =S

Alex.

----- Original Message ----- 
From: "Jez Hancock" <jez.hancock@munk.nu>
To: "Alex I" <alexiannuzzi02@hotmail.com>
Cc: <users@httpd.apache.org>
Sent: Thursday, February 19, 2004 10:06 AM
Subject: Re: [users@httpd] Setting Directory Indexes


> On Thu, Feb 19, 2004 at 09:25:11AM +1000, Alex I wrote:
> > Ok, Lets say that the directory that i want to be indexed is /alex
> > So I want to be able to access http://host/alex and then it should come
up
> > with the files in that directory.
> > And then if i access any other folder like http://host/test I want it
not to
> > show any files.
>
> Given what you say here you should be able to achieve this by setting:
>
> Options -Indexes # in /.htaccess or globally for the docroot
>
> and then:
>
> Options Indexes # in /alex/.htaccess
>
>
> -- 
> Jez Hancock
>  - System Administrator / PHP Developer
>
> http://munk.nu/
> http://jez.hancock-family.com/  - Another FreeBSD Diary
> http://ipfwstats.sf.net/        - ipfw peruser traffic logging
>
> ---------------------------------------------------------------------
> 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
>
>

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