Jim,

I did the modification in my httpd.conf but now I cannot access anything...
not even my php scripts... Here is what I did:

# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/Apache/htdocs">

#
# Possible values for the Options directive are "None", "All",
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI Multiviews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
    Options -Indexes FollowSymLinks Includes

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
    AllowOverride None

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all

</Directory>






"Jim Thome" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Assuming you are running Apache...

If you have permissions to modify the httpd.conf file, add:

Options -Indexes

...to your directory container <Directory "/path/to/your/webroot">

If you don't have access to modify the httpd.conf file, add a file .htaccess
in your web root and use the line shown above.

(restart server).

--Jim

>>> "The Gabster" <[EMAIL PROTECTED]> 05/06/02 03:26PM >>>
How can I stop people from seeing in the browser the content of my web
folders? For example if I have a folder called "newsgroup", right now if
they type http://www.mydomain.com/newsgroup/, they can see the index of that
folder... I do not want this...

PLease help.
thanks,
gabi.



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to