Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-17-2006, 11:21 PM
|
#1
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Allowing directory browing in apache
How do I enable this? I have a directory on one of my websites I want others to browse...
All I get is
Code:
Forbidden
You don't have permission to access dirname on this server.
I used to be able to....
apache 1.3.36
|
|
|
07-18-2006, 12:12 AM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep:
|
All you should need to do is allow the Indexes option and then set it up with IndexOptions:
Code:
<Directory "/var/www/www/somedir">
Options Indexes
IndexOptions FancyIndexing FoldersFirst IgnoreCase VersionSort NameWidth=*
</Directory>
Either that, or the user/group that Apache is running as doesn't have file system (or SELinux) permissions for the directory.
Was that what you were looking for?
|
|
|
07-18-2006, 12:33 AM
|
#3
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Original Poster
Rep:
|
Yeppers...Let me try it out...
I'll let you know if that resolves it.
(Reading through the httpd.conf file after driving 750+ miles today got my brain twisting...)
|
|
|
07-18-2006, 12:42 AM
|
#4
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Original Poster
Rep:
|
That did it. Thank you
|
|
|
07-18-2006, 02:42 AM
|
#5
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep:
|
Quote:
Originally Posted by cwwilson721
(Reading through the httpd.conf file after driving 750+ miles today got my brain twisting...)
|
No problem, but... you drove 750 miles today??? I take it that remote management was out of the question and your ISP's Linux support is even worse than some of ours here
|
|
|
07-22-2006, 01:06 PM
|
#6
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Original Poster
Rep:
|
No, I drive for a living, never have time for remote managing anything.
And my is awesome. No blocks on anything, no 'auto' a/v, all up to me. I love it.
|
|
|
08-11-2006, 06:33 PM
|
#7
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Original Poster
Rep:
|
OK. Additional question. I can now access the directory/browse it. However, when I click on the file, or rt click and 'save link to', it gives me the following error:
Code:
Forbidden
You don't have permission to access /directory/filename on this server.
What am I missing?
|
|
|
08-11-2006, 06:49 PM
|
#8
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
did you check the permissions in the filesystem? Looks like so
|
|
|
08-11-2006, 06:51 PM
|
#9
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Original Poster
Rep:
|
Permissions are fine. They are symlinks in a subfolder of one of my virtual sites.
Solution: I added to the 'Options' for the directory in httpd.conf.
I feel like such a Homer.
|
|
|
08-11-2006, 06:54 PM
|
#10
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
oh well... cheer up! Can happen to anyone
|
|
|
All times are GMT -5. The time now is 05:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|