Enable index view of directory under Apache 2.0

This is a discussion on Enable index view of directory under Apache 2.0 within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hello Folks, I would like to create a directory on my webserver that lists the items in that directory without ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-01-2005
razzanrohr@gmail.com
 
Posts: n/a
Default Enable index view of directory under Apache 2.0

Hello Folks,

I would like to create a directory on my webserver that lists the items
in that directory without a default file.

I created an .htaccess file for the /var/www/html/01 directory that
contains the following:

<Directory /var/www/html/01>
IndexOptions FancyIndexing
</Directory>

This did not work. I then went to the httpd.conf file and added the
following:

<Directory "/var/www/html/01">
IndexOptions FancyIndexing ScanHTMLTitles FoldersFirst HTMLTable
</Directory>

The error I am getting when I try to go to the page is this:

Forbidden
You don't have permission to access /01/ on this server.

Now, it occurs to me that the Indexing issue may be seperate from the
permissions issue. I am, however, missing a piece to get this to work.

Thanks in advance for your feedback.

-Alex

  #2 (permalink)  
Old 12-01-2005
Tim
 
Posts: n/a
Default Re: Enable index view of directory under Apache 2.0

On Wed, 30 Nov 2005 18:53:04 -0800, razzanrohr sent:

> I created an .htaccess file for the /var/www/html/01 directory that
> contains the following:
>
> <Directory /var/www/html/01>
> IndexOptions FancyIndexing
> </Directory>
>
> This did not work.


"IndexOptions" configures *how* the indexes are done. You need to enable
the generation of indexes. That's different.

e.g. Options +Indexes

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please destroy some files yourself.

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:52 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0