LinuxQuestions.org
Help answer threads with 0 replies.
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 08-27-2009, 03:11 PM   #1
vuhuynh
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Rep: Reputation: 0
Unhappy Fedor 11 - Problem displaying a folder under apache


Hello,

I'm having difficulty making a folder browseable in apache. Basically, I want to make it like a web folder with some files for users to download and I wasn't able to do so. This is a sample configuration in httpd.conf:

<Directory /var/www/html/test/>
Options +Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Not sure why but it gave a Forbidden when trying to access this folder. Any advise are greatly appreciated.

Regards,
 
Old 08-27-2009, 03:37 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
probably permissions. try:
Code:
man chmod
sudo chmod -r 744 /var/www/html/test/
 
Old 08-27-2009, 03:51 PM   #3
vuhuynh
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Unhappy Not permission issue

Hi,

I checked and make sure that the permission is corrected. But in this case, the permission isn't the issue.

Here is a look of what the log file shows
[Thu Aug 27 15:47:32 2009] [error] (13)Permission denied: access to /test/index.php denied
[Thu Aug 27 15:47:32 2009] [error] (13)Permission denied: access to /test/index.html denied
[Thu Aug 27 15:47:32 2009] [error] (13)Permission denied: access to /test/index.html.var denied

This looks almost as if it were expecting to see these index files. I was wanting it to just show the directory with files in it so users can just download them. Not sure why it doesn't do that.
 
  


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
Displaying JPEG files within the cgi-bin folder metalx1000 Linux - Server 0 12-07-2007 02:22 PM
Don't displaying images from a Mounted CIFS folder GSound Linux - Server 2 10-19-2007 01:17 PM
KDE/Konquerer archives displaying in folder list bytesniper Linux - Software 0 06-11-2005 09:14 PM
Apache problem with displaying compression/archive files. Akujin Linux - Networking 4 03-09-2005 03:18 AM
Problem with dual boot after Fedor install -no windows claudius753 Linux - Newbie 4 02-22-2004 06:12 AM


All times are GMT -5. The time now is 12:16 PM.

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