httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darryle Steplight <dstepli...@gmail.com>
Subject Re: [users@httpd] Apache displaying directories
Date Thu, 19 Aug 2010 17:00:04 GMT
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 <covener@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
> 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
>
>



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