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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 | |
|
|