how to configure http server on red hat linux4.0?
Answers were Sorted based on User's Feedback
Answer / amsin21
Simple configuration
--------------------
Install apache: (get the rpm for apache)
# rpm -ivh httpd.rpm
# vi /etc/httpd/conf/httpd.conf
and change
ServerName your-domain.com
Start apache : service httpd start
Verify by pointing the browser to http://localhost/
| Is This Answer Correct ? | 23 Yes | 2 No |
Answer / 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 |
Answer / balvinder singh rawat
I am using RHEL5
TO configure apache simple install httpd rpm
if you have yum then run
yum install httpd
& service httpd restart
these two commands will start your apache server
to check start browser & browse to your hostname
| Is This Answer Correct ? | 6 Yes | 11 No |
what are different ways the context switch happens from user to kernel space or vice-versa ?
what are the backup utilites on red hat linux 4.0?
diff b/w spinlock, seamaphores and mutex and where to use it.
Explain process management system calls in linux?
what is stored at /lib/modules ?
What does exec family return?
How to give the root permision to users?
What are the signals we have in Linux
what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?
what is iptabe on redhat linux?
What are system calls used for process management in linux?
what is stored in /proc ? what is significance of /proc in linux ?