Chapter 4 Web Admin interface
LinkStation User Manual 161
Name Descriptions
Web Server Settings
Click [Modify Settings]
to change settings.
Target Folder Select a target folder for the Web Server to access.
- (Target folder)/htdocs/
• This folder holds the content.
• Use this folder as the installation location for HTML les and
PHP scripts.
• Example: If the target folder is set as a shared folder with
the name “web”, HTML les, PHP les, and other content are
installed under \\(LinkStation name)\web\htdocs over the
SMB.
- (Target folder)/cgi-bin/
• This folder holds Perl scripts.
• Use this folder as the installation location for Perl scripts.
Only Perl scripts with .pl or .cgi extensions should be placed
in this folder.
To run a CGI script, copy it to the “cgi-bin” folder.
• CGI les in the Perl language with .cgi or .pl extensions
are supported in the cgi-bin folder. PHP les with .php
extensions are supported in the htdocs folder.
- (Target folder)/log/
• Logs from the Web Server are sorted in this folder. If
phpinfo (PHP interpreter setting information) is displayed,
then the Web Server is working properly.
To access the Web Server, navigate to
http://LinkStation IP address: port number.
Example: http://192.168.11.150:81
Web Server
php.ini settings To change PHP language interpreter settings, edit the php.
ini le. Don’t do this unless you know what you’re doing!
To restore php.ini to its original state, click [Restore Default
Settings].
[File Import] allows you to import a php.ini le from your
computer.
[Manual Edit] allows you to manually edit the php.ini le
displayed in the text box.