LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-26-2004, 04:07 PM   #1
zepplin611
Member
 
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187

Rep: Reputation: 30
apache directory visibility


Greetings,

I am rebuilding a machine that has been hacked into, and I am in need of some apache help. I have a RH 9.0 with: httpd-2.0.40-21.9 installed.

Here is what is occuring: http://machine.domain.net works, but comes up with the "Apache 2.0 Test Page". If i point a browser to: http://machine.domain.net/specified_dir i get a webpage that I placed in the machine dir (using an index.html file).

How do I get rid of this test page and put in a listing of all the directories that I have to view on my webpage (i.e. Index page of the webpage dirs).

If anyone can help, I'd greatly appreciate it.

zepplin611
 
Old 01-26-2004, 04:32 PM   #2
zepplin611
Member
 
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187

Original Poster
Rep: Reputation: 30
Hello again,

I figured this one out:

There is something called: Auto-Index, located within the /etc/httpd/conf/httpd.conf file:

# Disable autoindex for the root directory, and present a
# default Welcome page if no other index page is present.
#
#<LocationMatch "^/$">
# Options -Indexes
# ErrorDocument 403 /error/noindex.html
#</LocationMatch>

By commenting this block out, I was given an index to my listed dirs.

Does anyone know if this creates a security problem in any way?

Regards,

Zepplin611
 
  


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
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 07:03 AM
gcc 4.0.2 and Elf Visibility SKelem Linux - Software 3 11-07-2005 05:12 PM
Problem with GCC 4.0 Visibility eelshcn Programming 0 09-22-2005 02:52 PM
Partition Visibility to Windows philipogletree Linux - Newbie 2 07-25-2005 07:51 PM
LAN Visibility and Monty Python thomassounness Linux - Networking 1 08-20-2003 03:12 PM


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