![Anybus CompactCom 40 EtherNet/IP Скачать руководство пользователя страница 29](http://html1.mh-extra.com/html/anybus/compactcom-40-ethernet-ip/compactcom-40-ethernet-ip_network-manual_2948758029.webp)
Web Server
29
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
4.3 Server Configuration
4.3.1 General Information
Category
: extended
Basic web server configuration settings are stored in the system file ‘\http.cfg’. This file holds the root
directory for the web interface, content types, and a list of file types which shall be scanned for SSI.
The web root directory determines the location of all files related to the web interface. Files outside of
this directory and its sub-directories
cannot
be accessed by the web server.
4.3.2 Index Page
The module searches for possible index pages in the following order:
1.
<WebRoot>\index.htm
2.
<WebRoot>\index.html
3.
<WebRoot>\index.shtm
4.
<WebRoot>\index.wml
Note 1:
Substitute <WebRoot> with the web root directory specified in ‘\http.cfg’.
Note 2:
If no index page is found, the module will default to the virtual index file (if enabled).
See also...
• “Default Web Pages” on page 24
File Format:
[WebRoot]
\web
[FileTypes]
FileType1:ContentType1
FileType2:ContentType2
...
FileTypeN:ContentTypeN
[SSIFileTypes]
FileType1
FileType2
...
FileTypeN
• Web Root Directory
The web server cannot access files outside this di-
rectory.
• Content Types
A list of file extensions and their reported content
types.
See also...
- “Default Content Types” on page 30
• SSI File Types
By default, only files with the extension ‘shtm’ are
scanned for SSI. Additional SSI file types can be
added here as necessary.