LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-23-2005, 02:17 PM   #1
spank
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Ubuntu 6.06
Posts: 278

Rep: Reputation: 30
directory content on apache


if i access my apache server it gives me:
Code:
Forbidden

You don't have permission to access / on this server.
Apache/2.0.52 (Fedora) Server at 192.168.0.1 Port 80
if it doesnt have an intex.html/php.... i want to show me the content of the rootdirectory if it doesnt have an index file. how can i do that ?

thx!
 
Old 09-23-2005, 02:40 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You will need to make sure that you have the Indexes option listed in the Options directive for your root directory. Some apache config files also use a Location match to stop indexes being created from the / directory, this may also need removed.
 
  


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
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM
Problems Accesing Content on Apache brokenflea Slackware 2 08-05-2004 01:59 AM
Apache serving content after the content is removed? jrbush82 Linux - Software 6 05-05-2004 04:39 AM
My Apache server is not refreshing content??? rosko Linux - Software 46 12-18-2002 10:26 AM
How to chow a directory and all of it's content? ReSync Linux - General 4 06-30-2002 04:58 AM


All times are GMT -5. The time now is 03:05 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