how to set up apachi server in redhat 9

Dear sir,
I would like to know how to set up apachi server and running in my redhat 9 linux,thankyou
simply2Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
petmagdyCommented:
It is very simple if u have redhat linux 9 installation CDs, just go to package configuration (some thing like that u will find it in ur KDE menu, where u select to install components of the Linux OS) and check the the Web Server check box, this will install / configure apache Web Server.

Then go to the Services menu to check ur services to be up (similar the Windows services) u will find (apache or http server or web server I don't remmeber exactly)
and check the check box and press save
0
 
simply2Author Commented:
hello petmagdy

I had installed the apache server and its running ,how to configure a webpage ,I mean where to store the html pages and remove the apache test screen.
0
 
petmagdyCommented:
Yes it is in a strange place, frankly I don't have a Linux 9 machine in front of me to search where it is,
but to find it do the follwoing:


find / -name httpd.conf

u will find it most probably inside etc/httpd/conf not sure some thing like that

open this file you will find  a line something like:

DocumentRoot "{/xxx/xxx/rootdirectory}''

most probably

DocumentRoot "/var/www/html"

or

DocumentRoot "/var/www/htdocs"

this will be the root folder for the web pages u want
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
 
campbelcCommented:
try /var/www/html

then delete the index.html and create your own.
0
 
simply2Author Commented:
hi petmagdy,
Thanks for your help Iam really up with the apcahi server running now.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.