Related Topic
Customizing FTP messages and Web errors
Editing FTP Messages
The Web & File server displays a default message when an FTP clients
logs in as a registered user, or logs in anonymously. You can
edit the messages by making changes to the appropriate files.
The three FTP messages are
- FTP Connect Message. This message is displayed when users connect to the Web & File
Server for FTP service.
- FTP Login Message. This message is displayed after registered users type in their
name and (if required) password to log on to the Web & File Server
for FTP service.
- FTP Anonymous Login Message. This message is displayed when users log on as anonymous.
The FTP message files are located in:
System Folder:Preferences:AppleShare IP Preferences: FTP Preferences:
To edit the file, open it using any text-processing program, make
your changes, then save. Changes take effect after you restart
the Web & File Server.
Each FTP message file can contain up to 31 lines, with each line
ending with a carriage return. Each line should be no more than
80 characters long.
Editing Web error messages
You can change the text in the error messages (for example, "404:
File not found") that appear on a client's computer when the Web
Server needs to return an error message to the user's browser.
The default error files are located in the Error Files folder,
inside the Web Folder on the Web & File Server's hard disk.
You can edit these files using any html editing tool, but be sure
not to change the format of the file names. The files must be
html files, and be named as follows: "xxx.html," where the "xxx" is the error number.
Following are the eight error files that you can edit
- 400 Bad Request: The web browser has improperly formatted the HTTP request.
- 401 Unauthorized: This URL requires user authentication (a password).
- 403 Forbidden: Current user isn't allowed access to this URL.
- 404 Not Found: The requested item couldn't be found on the server.
- 409 Conflict: The requested item couldn't be read because it is in use.
- 500 Internal Server Error: The server encountered an internal error. This may occur if the
server is overloaded.
- 501 Not Implemented: The server doesn't support whatever the browser was trying to
do.
- 504 Gateway Timeout: The server invoked a CGI to process the request, but the CGI
was unable to do so.
|