[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] turn off directory listing in apache
- Subject: RE: [cobalt-users] turn off directory listing in apache
- From: <support@xxxxxxxxxxxxx>
- Date: Tue Oct 23 14:31:43 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
Here is the access.conf file (parts of it) we use to generate custom error
pages and turn off directory listings.
access.conf is in /etc/httpd/conf
<Directory /home/sites/>
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#Options Indexes FollowSymLinks Includes MultiViews
Options FollowSymLinks Includes MultiViews
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
AllowOverride All
# ignore .ht*
<Files ".ht*">
deny from all
</Files>
# Controls who can get stuff from this server.
order allow,deny
allow from all
AuthFailDelay 2000000
# Frontpage subwebs use a nice mix of pam and Basic authentication
AuthPAM_FallThrough on
</Directory>
# be more restrictive within a site
<Directory /home/sites/*/>
Options -FollowSymLinks +SymLinksIfOwnerMatch -Indexes
</Directory>
=====================
Below are the settings for all virtual sites, they are listed at the bottom
of the access.conf file
<Directory /home/sites/home>
AllowOverride All
Options FollowSymLinks Includes MultiViews -Indexes
RedirectMatch (.*)\cmd.exe$ http://127.0.0.1
RedirectMatch (.*)\default.ida$ http://127.0.0.1
RedirectMatch (.*)\root.exe$ http://127.0.0.1
</Directory>
<Directory /home/sites/site1>
AllowOverride All
Options FollowSymLinks Includes MultiViews -Indexes
RedirectMatch (.*)\cmd.exe$ http://127.0.0.1
RedirectMatch (.*)\default.ida$ http://127.0.0.1
RedirectMatch (.*)\root.exe$ http://127.0.0.1
</Directory>
=========================
regards
Erik Venema
DutchNet
_____________________________________________________________________
Postbus 3 Verkoop/billing: sales@xxxxxxxxxxxxx
3734 ZG Den Dolder Storingsmeldingen: support@xxxxxxxxxxxxx
tel.: 030-2292693 Technische vragen: helpdesk@xxxxxxxxxxxxx
fax.: 030-2292694 DutchNet website: www.dutch-net.com
_____________________________________________________________________
Kijk op onze on-line shop www.dutch-net.com/shop voor al uw
computer-benodigdheden en actuele aanbiedingen.
-----------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Olaf Alders
Sent: dinsdag 23 oktober 2001 19:08
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] turn off directory listing in apache
on 10/23/01 11:28 AM, Jason Vaughan at cobaltlist@xxxxxxxxxxx wrote:
>>> For the life of me I can't find out how to do this on apache.org. Some
>> help?
>>
>> Help us help you!
>> What model of Raq do you have?
>> Paul
>>
>
Why not just put an .htaccess file in the directories in question. All it
has to include is:
Options -Indexes
That works fine on my XTR.
Olaf
--
Olaf Alders
olaf@xxxxxxxxxxxxxxx
http://vilerichard.com
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users