DA-710 Series Linux
Managing Communications
3-11
AllowOverride None
</Directory>
...
...
ScriptAlias /cgi-bin/ /media/usb0/www/cgi-bin/
<Directory "/media/usb0/www/cgi-bin/">
AllowOverride None
Options ExecCGI -MultSymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
...
</VirtualHost>
...
<VirtualHost *:443>
...
...
DocumentRoot /media/usb0/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
...
...
ScriptAlias /cgi-bin/ /media/usb0/www/cgi-bin/
<Directory "/media/usb0/wwwz/cgi-bin/">
AllowOverride None
Options ExecCGI -MultSymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
...
</VirtualHost>
6.
Use the following commands to restart the Apache web server:
#cd /etc/init.d
#./apache2 restart
7.
Open your browser and connect to the DA-710-LX by typing the current LAN1 IP address in the browser’s
address box.
8.
After finishing modification or writing, remember to execute “umount /” to change the root directory back
to Read-only mode.
MOXA:~# umount /
9.
Re-start the apache server.
MOXA:~# /etc/init.d/apache2 restart
ATTENTION
Visit the Apache website at http://httpd.apache.org/docs/ for more information about setting up Apache
servers.