User manual

Publishing Web pages using FTP
Cobalt RaQ XTR User Manual 191
Server-side scripting languages
The RaQ XTR supports both the Active Server Pages (ASP) and PHP scripting
languages. These features are enabled on a per-site basis (see the “Site Settings”
table under the
Site Management > Site Settings
tab).
Like CGI scripts, you can develop ASP and PHP scripts on your desktop machine
and then transfer them to the RaQ XTR by means of an FTP-based application.
Unlike CGI scripts, ASP and PHP do not require execute permissions to work
correctly. However, ensure that the Web server process can read the scripts; you
can use the telnet command:
chmod 664 <filename>.asp
or
chmod 664 <filename>.php
For the Web server to run the scripts correctly, ASP scripts must use the .asp
filename extension and PHP scripts must use the .php filename extension.
Publishing Web pages using FTP
After creating your Web pages, you can publish them on the RaQ XTR using an
FTP-based application.
Make sure you have the following information:
the host name or the IP address of your RaQ XTR
your username and password
a filename of your choice to save as your main page (the default is
index.html)
Launch your FTP software and establish an FTP link to the RaQ XTR. Upload
your HTML files. If you need help, consult the instructions for your FTP
application.
Note:
For more information about the directory structure on the
RaQ XTR, see “Directory structure” on page 242.