Macromedia flash media server 2-managing flash media server Manual De Usuario
14
Managing the Server
Deploying server-side scripts
In developing applications for Flash Media Server, you may decide to use server-side scripts to
implement some of the functionality. To deploy server-side scripts, you can store them in your
registered application directory for the application that uses them or in a scripts directory
(which you create) within your application directory. Server-side scripts should always reside
on the computer where Flash Media Server 2 is installed.
implement some of the functionality. To deploy server-side scripts, you can store them in your
registered application directory for the application that uses them or in a scripts directory
(which you create) within your application directory. Server-side scripts should always reside
on the computer where Flash Media Server 2 is installed.
For example, you could store the main.asc file for my_app in the following directory:
installation_directory/applications/my_app/scripts.
installation_directory/applications/my_app/scripts.
If you create server-side scripts that use characters that are not in the classic 8-bit ASCII
character set, such as non-English characters, you must use a text editor that encodes text in
UTF-8 format. Macromedia Dreamweaver can encode text in this format.
character set, such as non-English characters, you must use a text editor that encodes text in
UTF-8 format. Macromedia Dreamweaver can encode text in this format.
Script files that are encoded in UTF-8 format must be transferred to the server via a binary
file transfer.
file transfer.
For more information about using server-side scripts, see Developing Media Applications.
Starting and stopping the server in Windows
In Windows, Flash Media Server runs as a service; it does not appear in the Windows taskbar.
Therefore, you don’t shut down or restart the server as you would for other Windows
applications.
Therefore, you don’t shut down or restart the server as you would for other Windows
applications.
You can shut down and restart the server in a few ways:
■
Use the management console to connect to the server and then shut it down or halt it
remotely. Only server administrators can perform these tasks.
remotely. Only server administrators can perform these tasks.
For more information, see
.
■
Use the Windows Services control panel.
To start or stop the server:
In the Start menu, select Programs > Macromedia > Flash Media Server 2> Start Service or
Stop Service.
Stop Service.
To stop the server in the Services control panel:
1.
In the Windows Start menu, select Settings > Control Panel.
2.
In the Control Panels folder, double-click the Administrative Tools folder.
3.
In the Administrative Tools folder, open the Services control panel.