Xerox 7755 ユーザーズマニュアル

ページ / 185
Scanning
WorkCentre 7755/7765/7775 Multifunction Printer
System Administrator Guide
110
CGI Scripts
A CGI (Common Gateway Interface) script is a program on a Web server that is executed when the 
server receives a request from a browser. A CGI script is required to allow files to be transferred to your 
HTTP server from your printer.
When a document is scanned, the printer logs in to the Web server, sends a POST request along with 
the scanned file, then logs out. The CGI script handles the remaining details of file transfer.
To download a sample CGI script:
Note:
If your printer is locked, you must log in as a system administrator. For details, see 
1.
In CentreWare IS, click Properties > Services > Workflow Scanning > File Repository Setup.
2.
Click Add New.
3.
Select HTTP or HTTPS from the Protocol drop-down menu.
4.
Under Script path and filename, click Get Example Scripts.
5.
Select a script language supported by your Web server. Right-click and save the appropriate .zip or 
.tgz file to your computer. Extract the downloaded file to the root of the Web services home 
directory.
Configuring HTTP/HTTPS File Repository Settings
Note:
If your printer is locked, you must log in as a system administrator. For details, see 
1.
In CentreWare IS, click Properties > Services > Workflow Scanning > File Repository Setup.
2.
Click Add New.
3.
Type a name for the repository in the Friendly Name field.
4.
Select HTTP or HTTPS from the Protocol drop-down menu.
5.
Select the address type. Options include IPv4IPv6, or Host Name.
6.
Type the appropriately formatted address and port number in the Address: Port field for the HTTP 
or HTTPS server.
7.
For HTTPS, click View Trusted SSL Certificates to verify that a digital certificate is installed on the 
printer.
8.
Select Validate Repository SSL Certificate to have the server’s SSL certificate validated for the 
correct host name and checked for a signature of a trusted certificate authority.
9.
Type in the path to the location of the scan folder in Document Path. For Web server directories, 
type in the path starting at root.
10. In the Script path and filename field, type the path to the CGI script starting at the root. 
Example: /directoryname/foldername. Click Get Example Scripts to download working example 
scripts.
11. In the Document Path field, type the directory path of the folder starting at the root. For Web 
server directories, type in the path starting at root. Example: \\directoryname\foldername.
12. Under Login Credentials to Access the Destination, select one of the following:
Authenticated User and Domain: The authentication server validates the user credentials 
prepended by the domain name against the LDAP server.