LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 10-05-2009, 10:59 PM   #1
paulikus
LQ Newbie
 
Registered: Oct 2009
Posts: 7
Thanked: 0
Suse 10.2 Apache 2.2.3 - directory browsing not working


[Log in to get rid of this advertisement]
I'm trying to get directory browsing working from a web site and get 403 permission denied no matter what. I've been through many many google articles on how to allow this but none of them work. restarting apache2 each time a change is made to httpd.conf but no change. for example, latest entry i tried is:

<Directory "/SC" >
Options FollowSymLinks MultiViews Indexes
AllowOverride all
</Directory>
windows_xp_2003 paulikus is offline  
Tag This Post ,
Reply With Quote
Old 10-06-2009, 08:58 AM   #2
kbp
Member
 
Registered: Aug 2009
Posts: 483
Thanked: 44
Hi,

Do you have an 'Order' directive anywhere in your config ?

eg.
Code:
...
Order allow,deny
Allow from all
...
cheers

kbp
linuxfedora kbp is offline     Reply With Quote
Old 10-06-2009, 01:44 PM   #3
paulikus
LQ Newbie
 
Registered: Oct 2009
Posts: 7
Thanked: 0

Original Poster
I added this to the httpd.conf, restarted apache, but no joy

# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Allow from all
</Files>
windows_xp_2003 paulikus is offline     Reply With Quote
Old 10-06-2009, 06:00 PM   #4
kbp
Member
 
Registered: Aug 2009
Posts: 483
Thanked: 44
Does '/SC' map to a directory that the apache user can read ?
linuxfedora kbp is offline     Reply With Quote
Old 10-07-2009, 07:35 AM   #5
paulikus
LQ Newbie
 
Registered: Oct 2009
Posts: 7
Thanked: 0

Original Poster
directory is wide open

"/SC" is symbolic link which points to the dir /home/SC. The ownership is root:root but permission is wide open (777)
windows_xp_2003 paulikus is offline     Reply With Quote
Old 10-07-2009, 05:32 PM   #6
paulikus
LQ Newbie
 
Registered: Oct 2009
Posts: 7
Thanked: 0

Original Poster
error_log

I also see this in the error_log:

[Wed Oct 07 13:58:21 2009] [error] [client 10.127.122.111] Directory index forbidden by Options directive: /home/SC/iUSC_Logs/, referer: http://i17smba1
windows_xp_2003 paulikus is offline     Reply With Quote
Old 10-07-2009, 05:40 PM   #7
kbp
Member
 
Registered: Aug 2009
Posts: 483
Thanked: 44
Sorry, the permissions on the symlink are 777 or the permissions on the directory are 777 ? ... it's probably not necessary to allow write access to the directory - perhaps you could change the permissions to 755 ?
linuxfedora kbp is offline     Reply With Quote
Old 10-15-2009, 06:11 PM   #8
paulikus
LQ Newbie
 
Registered: Oct 2009
Posts: 7
Thanked: 0

Original Poster
I found my problem. the Options in httpd.conf were apparently getting nullified by the line:
"Include /etc/apache2/default-server.conf". The file didn't even exist. I commented it out, did a rcapache restart and directory browsing is working!
windows_xp_2003 paulikus is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 07:03 AM
Apache: show mp3 id tags in directory browsing? wijnands Linux - Software 1 08-09-2005 08:09 AM
SAMBA client stopped windows browsing from working - SuSE 9.1 mikemrh9 Linux - Networking 7 08-18-2004 02:38 PM
Disable Directory Browsing Apache bentman78 Linux - Software 2 07-09-2004 03:10 AM
suse 9.0 working directory snakedriver Linux - Newbie 1 03-25-2004 08:52 AM


All times are GMT -5. The time now is 05:45 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration