You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Michael Zwicker <ma...@ns.sympatico.ca> on 2003/09/28 21:57:08 UTC

[users@httpd] TEST

TEST!!!!


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


Re: [users@httpd] Showing contents of a directoy

Posted by Leif W <wa...@usa.net>.
----- Original Message ----- 
From: "Michael Zwicker" <ma...@ns.sympatico.ca>
To: <us...@httpd.apache.org>
Sent: Sunday, September 28, 2003 3:58 PM
Subject: [users@httpd] Showing contents of a directoy


> Okay, when I go to myurl.com/folder it gives me a forbidden page. How do
> I make it show the contents??
>
> -Mike
>

1) Does the folder have the correct permissions?  (chmod 755 in unix, read
and list folder contents by everyone in windows).
2) Do you have a page in there, specified in the DirectoryIndex directive?
(i.e. index.html, index.shtml, index.php, etc.)
3) If you want a directory listing of all files, without specifying any
DirectoryIndex, you need to create a <Directory> block and turn on Options
+Indexes (see
http://httpd.apache.org/docs-2.0/mod/mod_autoindex.html#indexoptions on ways
to customize the look).

Example for 2)

    DirectoryIndex index.html # index.php index.shtml

Example for 3)

    <Directory "/path/to/www/folder">
        Options +Indexes
        IndexOptions DescriptionWidth=* FancyIndexing FoldersFirst
IconHeight IconWidth NameWidth=* SuppressColumnSorting VersionSort
        Order allow,deny
        Allow from all
    </Directory>

Leif

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


[users@httpd] Showing contents of a directoy

Posted by Michael Zwicker <ma...@ns.sympatico.ca>.
Okay, when I go to myurl.com/folder it gives me a forbidden page. How do 
I make it show the contents??


-Mike


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