LinuxQuestions.org
Help answer threads with 0 replies.
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 10-28-2008, 08:45 AM   #1
EpicOfChaos
LQ Newbie
 
Registered: Oct 2008
Location: Ogden, Utah
Distribution: Ubuntu Server 8.10
Posts: 18

Rep: Reputation: 0
Apache 2 Configuration


Hello,
This thread might be better at a apache website but I figured I would ask you guys so I don't have to create another online web account with a apache site.

The question I have is, write now you can go to mysite/data and it will list all the files in like a directory structure. I don't want people to be able to list the directory information. Do you know what in my configuration file I need to change so that it won't do this? I was thinking it was under the <directory> tag I need to add something but not sure, and I can't seem to find anything online.

Thanks for your help!

Brody
 
Old 10-28-2008, 09:47 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,754

Rep: Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839
You should remove the keyword "Indexes" from inside the <Directory>..</Directory> part.
Or you can add an empty index.htm file in the directory you want to stop indexing, so apache will show a blank page.

Regards
 
  


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
Migrating Apache 1.3 configuration files to Apache 2 kaplan71 Linux - Software 0 03-28-2007 11:05 AM
apache configuration simcox1 Linux - Networking 14 10-25-2005 05:46 AM
Apache configuration help. cowboypete Mandriva 1 10-29-2003 08:38 AM
apache configuration saurabh777 Linux - Software 0 10-06-2003 05:35 AM
Apache configuration arraman Linux - Software 1 07-19-2001 12:56 AM

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

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