Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-11-2010, 03:48 AM   #1
Registered: Oct 2004
Location: LH
Posts: 610

Rep: Reputation: 31
Apache server fot testing.

Iam using red hat linux for testing Apache server.The apache server "httpd" is working and in the web brower when i write "http://localhost" itshow me the apache test page.
Well i want to know that where this test page exist and if i want to change this page and add my pwn web page then how can I do it.
(My server IP address is Subnet mask

2- An other linux client computer is connection with a switch when it open its brower and write my apache server ip address in the web browser like it show melinux directory structure instead of apache test page.
My client IP address is Subnet mask

3- My last computer running windows xp whic is(IP address subnet mask ) also connection with the switch for testing purpose.When I open IE and type http://1920.168.1.10 it say "page cannot be displayed"

please guide me that how can i fix my issue one ofter one.

thanks in advance

Last edited by gardenair; 06-11-2010 at 03:49 AM.
Old 06-11-2010, 04:31 AM   #2
Registered: Feb 2010
Location: /Earth/UK/England/Hampshire
Distribution: Debian, Ubuntu, CentOS, Slackware
Posts: 262
Blog Entries: 2

Rep: Reputation: 56
Should be whereever your httpd.conf file is telling Apache the default document root is.

Try looking in:

Some installations will have the default 'it works' index.html file, but I have found with CENT this is missing and a custom generated 'branded' index pops up thanks to file '/etc/httpd/conf.d/welcome.conf'.

Not sure if this helps, but it may start you off.
Old 06-11-2010, 04:31 AM   #3
Registered: Jun 2010
Posts: 34

Rep: Reputation: 16
The listing of the directory is down the the 'DirectoryIndexing' feature common to all web servers, and should really be switched off in the http.conf file (most likely /etc/httpd/cond/httpd.conf, or some such, depending on your distribution). Directory Indexing is a legacy from the old days of the Web, when you could trust web users not to go rampaging across your directory structure, seeing what they could break, at the first opportunity you gave them.

You also need an index file in our web server's DirectoryRoot. This is a type of file, that the server will look for, and serve, based on its name, whenever a specific page isn't given by the browser. Typically this is index.html, index.php, or default.html, or some name like that.

Again, this is fully configurable in the httpd.conf file.

What is going on on the Windows box may be more difficult to determine, but try installing a better web browser, and see if you can coax it into giving you a more productive and informative error message.


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 stress testing shahidbashir7861 Linux - Server 1 03-21-2007 02:56 PM
Testing Apache Server - can you tell me if you can see it? shazam75 Linux - Networking 3 10-17-2005 01:47 PM
Logs fot SFTP Koven Linux - Security 1 06-22-2005 11:14 PM
plz write the sources.list and yum.conf fot this server shams Fedora 1 11-21-2004 03:36 PM
Fot those of you that don't koolkat Linux - Hardware 3 09-27-2003 02:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration