Chapter 4 Web Admin interface

Name

Descriptions

 

 

 

 

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 files and

 

 

PHP scripts.

 

 

• Example: If the target folder is set as a shared folder with

 

 

the name “web”, HTML files, PHP files, and other content are

 

 

installed under \\(LinkStation name)\web\htdocs over the

 

 

SMB.

Web Server Settings

 

- (Target folder)/cgi-bin/

 

• This folder holds Perl scripts.

 

 

• Use this folder as the installation location for Perl scripts.

Click [Modify Settings]

 

Only Perl scripts with .pl or .cgi extensions should be placed

to change settings.

 

in this folder.

 

 

To run a CGI script, copy it to the “cgi-bin” folder.

 

 

• CGI files in the Perl language with .cgi or .pl extensions are

 

 

supported in the cgi-bin folder. PHP files 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 Severver is working properly.

 

 

To access the Web Server, navigate to

 

 

http://LinkStation IP address: port number.

 

 

Example: http://192.168.11.150:81

 

php.ini Settings

To change PHP language interpreter settings, edit the php.

 

 

ini file. Don’t do this unless you know what you’re doing!

 

 

To restore php.ini to its original state, click [Restore Default

 

 

Settings].

Web Server

 

[File Import] allows you to import a php.ini file from your

 

 

 

 

computer.

 

 

[Manual Edit] allows you to manually edit the php.ini file

 

 

displayed in the text box.

LinkStation User Manual

130

Page 131
Image 131
Buffalo Technology LSV40TL PHP scripts, Example If the target folder is set as a shared folder with, Target folder/log