LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 02-18-2005, 01:00 AM   #1
joey52
Member
 
Registered: Dec 2004
Posts: 59

Rep: Reputation: 15
Folder indexing


Lets say if I want a directory of a website to be read or store lets say pictures. I keep getting this error:

Forbidden
You don't have permission to access /pictures/ on this server.
--------------------------------------------------------------------------------
Apache/2.0.48 (Fedora) Server at

What file do i have to configure to make this directory show the contents.

Like this: http://www.rocclan.heretic-hosting.com/pbss/

Last edited by joey52; 02-18-2005 at 01:06 AM.
 
Old 02-18-2005, 03:38 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Edit you apache httpd.conf and add a <Directory...> directive like this:
Code:
<Directory "/apache/docroot/pictures">
Options  Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Where /apache/docroot is the DocumentRoot of your server.
The keyword is "Indexes" which tells apache to index the contents of the directory specified by the directive. Of course you can just add "Indexes" inside the directive of your DocumentRoot directory to set this globally.
 
Old 02-18-2005, 04:05 AM   #3
joey52
Member
 
Registered: Dec 2004
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks man. It worked!
 
  


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
File indexing - Best program to use? IMSargon Linux - Software 2 04-02-2006 03:59 PM
Beagle isn't indexing anything simeandrews Linux - Software 11 09-28-2005 06:02 AM
LibPST -> just indexing? p41elvis Linux - Software 1 10-26-2004 07:55 AM
Appache indexing NewtonIX Linux - Software 7 08-21-2004 09:46 PM
Advice on indexing service tisource Linux - General 5 11-26-2003 02:28 AM


All times are GMT -5. The time now is 03:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration