Moxa Technologies UC-7420/7410 Use the following commands to restart the Apache web server

Models: UC-7420/7410

1 106
Download 106 pages 2.64 Kb
Page 57
Image 57

UC-7420/7410 User’s Manual

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 UC-7420/7410 by typing the current LAN1 IP address in the browser’s address box.

NOTE Visit the Apache website at http://httpd.apache.org/docs/ for more information about setting up an Apache server.

4-5

Page 57
Image 57
Moxa Technologies UC-7420/7410 user manual Use the following commands to restart the Apache web server