The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: making a server
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 07-10-2002
hassan2 hassan2 is offline
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
To configure a server as web server using apache.

you need to install apache but since linux comes with apache you only need to configure httpd.conf file in /usr/local/apache/conf dirrectory. Apache may be install in a different directory on your server

issue a

find / -name httpd.conf

to find the location of your httpd.conf file

you need to configure the httpd.conf with server name, location of html file and some security setting.

more details can be found on www.apache.org

after configuring httpd.conf file you need to restart apache
this can be restart by ./apachectl start

finally issued
ps -ef | grep httpd

To make sure httpd is running