Moxa DA-682A-C7-DPP-LX [31/108] Default homepage

Moxa DA-682A-C7-DPP [31/108] Default homepage
DA-682A-DPP Linux Software Managing Communications
3-13
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference’ and `info’ packages installed, try:
# `info libc “Name Service Switch”‘ for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
Apache Web Server
The Apache config directory houses four basic directories: sites-enabled, mods-enabled, sites-available, and
mods-available. The sites-enabled directory is where active websites are enabled; this is done by creating a
symlink into the sites-available directory. Sites-available is a repository for all sites, whether inactive or
active. The mods-available directory houses Apache software modules, which allow administrators to
adjust the size and features of the Apache webserver to the particular needs of the application. The
mods-enabled directory enables modules to be loaded by, again, symlinking back to the relevant module
located in the mods-available directory.
ATTENTION
There are many Apache modules that may be of use to administrators in need of customizations to th
eir
webserver, such as speeding up CGI, or building heightened security. Webserver modules and features are
beyond the scope of this manual. If you wish to find a complete list and full documentation for the native
modules, please refer to the Apache webse
rver documentation, found here:
http://httpd.apache.org/modules/
For a more completely list of available modules that includes third
-
party modules, you may refer to Wikipedia:
http://en.wikipedia.org/wiki/List_of_Apache_modules
Default Homepage
The Apache web server’s main configuration file is /etc/apache2/sites-enabled/000-default, with
the default homepage located at
/var/www/index.html.
Before you modify the homepage, use a browser (such as Microsoft Internet Explorer or Mozilla Firefox) from
your PC to test if the Apache web server is working. Type the LAN1 IP address in the browser’s address box to
open the homepage. If the default address hasn’t changed, then when you type
http://192.168.3.127/
in the address bar of your web browser you should see Apache’s default web page.

Содержание

Похожие устройства

Скачать