how to configure http server on red hat linux4.0?

Answer Posted / kamal kakkar

Hi,

You just need to install yum install httpd
after that in this fine you have to edit
vi /etc/httpd/conf/httpd.conf

At the last just copy the 7 line
and paste it
it will ask for virtual host it should be yr ip adddress
like 192.168.1.141

virtual host 192.168.1.141
server admin root@station1.example.com
server name station1.example.com
document root /var/www/html
directory index index.html
<virtual host>

And then check the yr configuration fine
the command is httpd -t
and restart the apache server
service httpd restart
chkconfig httpd on

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I would like to know whether Simado and Setu products are they EPBX or not ?

1935


what are different ways the context switch happens from user to kernel space or vice-versa ?

2146


What are system calls used for process management in linux?

589


Explain process management system calls in linux?

561