LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2003, 04:18 PM   #1
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Rep: Reputation: 15
apache 2 dir browsing


how would i enable directory browsing on my apache 2.some-odd server?
 
Old 10-21-2003, 04:32 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Within you Directory tags or options specify Indexes. Should be the same as 1.3.x versions.
 
Old 10-21-2003, 04:34 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You need to add the option "Indexes" to the directory that you want to allow browsing of. You can do this in an htaccess file or httpd.conf

If it is for the DocumentRoot you may need to remove an entry like this from httpd.conf:
<LocationMatch "^/$>
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>
 
Old 10-22-2003, 03:54 PM   #4
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by david_ross
You need to add the option "Indexes" to the directory that you want to allow browsing of. You can do this in an htaccess file or httpd.conf
how would i go about doing that?


and i tried taking out that chunk of code, but no luck

help?

edit::
this is off of a virtual host

Last edited by Spaz17; 10-22-2003 at 03:58 PM.
 
Old 10-22-2003, 04:00 PM   #5
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
well nm i got it

<Directory />
Options <b>Indexes</b> FollowSymLinks
AllowOverride None
</Directory>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Directory Browsing Apache bentman78 Linux - Software 2 07-09-2004 03:10 AM
apache file browsing question zovres Linux - General 3 08-14-2003 11:49 PM
browsing directories - apache 1.3.x Marble Linux - Networking 3 05-14-2003 07:01 PM
proftpd - limit user browsing to there dir only bkeating Linux - Software 1 12-05-2002 03:07 AM
apache dir browsing k3v0 Linux - Software 1 08-29-2002 02:29 AM


All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration