Managing Communication |
Step 2:
Use the following commands to configure the Apache web server’s DocumentRoot:
#cd /etc/apache #vi httpd.conf
……
DocumentRoot “/mnt/hda” //Change the document root directory //to your CF card.
……
192.168.3.127 – PuTTY
ServerRoot “/etc/apache”
PidFile /var/run/httpd.pid
ScoreBoardFile /var/run/httpd.scoreboard
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
Listen 80
User nobody
Group nobody
ServerAdmin root@localhost
ServerName localhost
DocumentRoot “/mnt/had”
Step 3:
Use the following commands to restart the Apache web server:
#cd /etc/init.d #./apache restart
Step4:
Open your browser and connect to the
NOTE Visit the Apache website at http://httpd.apache.org/docs/ for more information about setting up an Apache server.