Novell NETWARE 6-DOCUMENTATION Manual page 2029

Table of Contents

Advertisement

Specifying CGI as a File Type
Downloading Executable Files
100 Getting Results with Novell Web Services
Copy your CGI programs into the directories you've specified.
Remember that any files in those directories will be processed as a CGI
file, so you don't want to put HTML files in your CGI directory.
1
From the Web Manager home page, click Enterprise Web Server
servername > Programs > CGI File Type.
2
Select the resource you want to apply this change to from the Editing
drop-down list.
3
Click Browse to choose a part of your server.
4
Click Options to browse files and directories on your server.
5
Click Back to return to the CGI as a File Type form.
6
Click Wildcard to enter the wildcard pattern to edit.
7
Click Yes to activate CGI as a file type.
8
Click OK > Save and Apply.
The CGI files must have the file extension .BAT, .EXE, .NLM, or .CGI. Any
non-CGI files with those extensions will be processed by your server as CGI
files and will cause errors.
If you're using .EXE as a CGI file type, users will not be able to download
.EXE files as executables.
One solution to this problem is to compress the executable files that you want
users to be able to download, so that the extension is not .EXE. This solution
has the added benefit of shortening the download time.
Another possible solution is to remove .EXE as a file extension from the
MAGNUS-INTERNAL/CGI type and add it to the APPLICATION/OCTET-
STREAM type (the MIME type for normal downloadable files). You can do
this by clicking Enterprise Web Server servername > Server Preferences >
MIME Types. However, the disadvantage to this method is that after making
this change, you cannot use .EXE files as CGI programs.
Another solution is to edit your server's OBJ.CONF file to set up a download
directory, where any file in the directory is downloaded automatically. The
rest of the server won't be affected. For directions on setting up this directory,
visit the
Netscape Technical Support Knowledge Base (http://
help.netscape.com/kb/server/960513-130.html).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netware 6

Table of Contents