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-2003, 12:28 PM   #1
sayamal
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Help need for apache server and redhat 9


Help need for apache server and redhat 9


I have installed apache server and redhat 9. I configure the server and when I try to access the server with /url it gives me apache default page. However, if I put /url/index.html it gives me right page. I have no virtual host configure...I just took the default setting and added my directory setting to the http configuration which is /var/www/html/directory_name/. I have tried my all the option but I did not get any luck...So anyone has any idea pls help....
Thank you in advance...

Shyamal
 
Old 10-28-2003, 12:38 PM   #2
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Rep: Reputation: 30
Hey,

Apache can be a little confusing and difficult to configure. I am not that great with it but if you read some of the documents here:
http://httpd.apache.org/docs/

And mess around with the cofiguration, you should be able to do the basics, but if you want to get advanced you should really get a book.

I know this wasn't much help, but I can't tell what the problem is from your post? Is it not displaying what you want?

Later
 
Old 10-28-2003, 01:58 PM   #3
ullas
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
hi..
check if u have configured the folowing correctly in httpd.conf file.

<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi
</IfModule>

it tells apache to open default files as in order.
so according to this it will give precidence to index.html over index.htm or index.cgi .
ie if u have index.html & index.htm & index.cgi in u'r html root dir it will open index.html & not index.htm if u just type the url

good luck
ullas
 
  


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
Configuring PHP on a Redhat/Apache server Ziggie Linux - Software 8 12-22-2005 11:12 AM
Apache/RedHat server went crazy over the weekend ... please help point_break Linux - General 3 08-23-2005 02:59 AM
Help need for apache server and redhat 9 sayamal Red Hat 3 11-04-2003 03:53 PM
Apache HTTP Server on Redhat 9 g-man76 Linux - Laptop and Netbook 9 08-01-2003 10:21 PM
Frontpage Server Extensions 2002 onto apache 2 and redhat linux 8 paulhenning Linux - Distributions 0 03-10-2003 07:57 PM

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

All times are GMT -5. The time now is 06:36 AM.

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