You need to set a list of default files for apache to display. In most
cases it's index.html, index.htm index.php etc. In your apache setting
you need to have something like this

"DirectoryIndex index.html index.htm index.php"

On Thu, Aug 19, 2010 at 12:43 PM, Eric Covener <cove...@gmail.com> wrote:
>> I changed all the "Options Indexes" to "Options -Indexes" in httpd.conf,
>> even removed them, yet Apache still displays my directories.
>> I tried adding the "Options -Indexes" to an .htaccess file, but
>> still with no luck.
>
> That directives controls directory indexes created by mod_autoindex,
> not the output of a PHP script you've decided to run on your
> webserver.
>
> --
> Eric Covener
> cove...@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-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>



-- 
----------------------------------------------
"May the Source be with you."

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to