![Anybus CompactCom 40 EtherNet/IP Скачать руководство пользователя страница 30](http://html1.mh-extra.com/html/anybus/compactcom-40-ethernet-ip/compactcom-40-ethernet-ip_network-manual_2948758030.webp)
Web Server
30
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
4.3.3 Default Content Types
By default, the following content types are recognized by their file extension:
Content types can be added or redefined by adding them to the server configuration file, see “General
Information” on page 29.
4.3.4 Authorization
Directories can be protected from web access by placing a file called ‘web_accs.cfg’ in the directory to
protect. This file shall contain a list of users that are allowed to access the directory and its subdirectories.
File Extension
Reported Content Type
htm, html, shtm
text/html
gif
image/gif
jpeg, jpg, jpe
image/jpeg
png
image/x-png
js application/x-javascript
bat, txt, c, h, cpp, hpp
text/plain
zip
application/x-zip-compressed
exe, com
application/octet-stream
wml
text/vnd.wap.wml
wmlc
application/vnd.wap.wmlc
wbmp
image/vnd.wap.wbmp
wmls
text/vnd.wap.wmlscript
wmlsc
application/vnd.wap.wmlscriptc
xml
text/xml
application/pdf
css
text/css
File Format:
Username1:Password1
Username2:Password2
...
UsernameN:PasswordN
[AuthName]
(message goes here)
• List of approved users.
• Optionally, a login message can be specified by including the
key [AuthName]. This message will be displayed by the web
browser upon accessing the protected directory.