LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-29-2004, 07:33 PM   #1
needforspeed
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 73

Rep: Reputation: 15
Quick apache question


I've read all the related documentation and searched this site but I still haven't figured out how to make one thing work....

I've got it setup to display a directory listing for directories that do not have an index.html .php .htm yada yada yada. It does correctly display the directory listing for directories in the DocumentRoot folder.

However, I enabled UserDirectory so each user has a public_html directory in their home that can be accessed via the web. But the directory listing is not working. From all the reading I've done, I haven't been able to find a straight answer so does anybody know what to edit in the .conf or any other files?

It's not a big deal but it's something for me to do to learn linux and avoid homework at the same time. Thanks for help in previous posts.
Also, I didn't know exactly which forum to post this under so don't flame me too much if it's in the wrong one.
 
Old 01-30-2004, 08:01 AM   #2
needforspeed
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 73

Original Poster
Rep: Reputation: 15
I would think that out of 90,000 members, somebody would know the answer! Anybody?
 
Old 01-30-2004, 10:43 AM   #3
vous
Member
 
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Rep: Reputation: 30
Well, I think that any of the 90,000 members would need a little bit more info...

1- Do you have a firewall running?
2- What are the errror messages in the log files when you try to access these directories? Look at both the error and acces logs!!!
3- When you say you have it "set-up", what exactly do you think you've done to "set-it-up"? Enabled, disabled what?
4- You've tried to access these directories from where? Your box, from another box, via a proxy...????

...just for starters....
 
Old 01-30-2004, 12:08 PM   #4
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Try doing something like the following in your httpd.conf:
<Directory /home/*
Options Indexes
</Directory>

Or put a .htaccess in their public_html directory. You can get more info at the Apache website.
 
Old 01-30-2004, 04:11 PM   #5
needforspeed
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by stickman
Try doing something like the following in your httpd.conf:
<Directory /home/*
Options Indexes
</Directory>

Or put a .htaccess in their public_html directory. You can get more info at the Apache website.
That worked! Thanks stickman.
 
  


Reply



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
quick apache 2 question eckertc1 Linux - Software 8 03-09-2005 12:38 AM
Quick question about apache The_Messiah Slackware 2 09-04-2004 04:39 PM
Quick Apache question scuffell Linux - General 9 09-01-2004 11:52 AM
Quick Apache question karlan Linux - Software 2 07-03-2004 02:20 AM
A quick Apache question. slackMeUp Slackware 5 04-25-2004 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:07 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
Open Source Consulting | Domain Registration