B1. HTTP FILE UPLOAD
    v1.0 (2/14/01)

This folder contains 2 additional files: upload.mgi and results.mgi

To use the file upload pages on your system, perform the following
steps.

1. Configure your region for file upload:

 Access the domain admin page for the domain where files will be
uploaded. To access the domain admin page, access the
"MGIDomainAdmin.xxx" page in a web browser from one of the domain's
virtual host addresses. Replace the ".xxx" suffix with any suffix that
is mapped to be processed by MGI2. For example, if you have the ".mgi"
extension mapped to be processed by MGI2 you would access
"MGIDomainAdmin.mgi" or if you have the ".html" extension mapped to be
processed by MGI2, you would access "MGIDomainAdmin.html". The domain
admin page is password-protected. When a domain is created, the domain
admin username and password are those of the current server admin and
password.

 Click the "Region Management" link. Select the region to configure for
file upload. Highlight the forward slash "/" for the default region or
the region name in the region list and click the "Edit" button.

 By default, a file of any size can be uploaded. To limit the size of
uploaded files, enter the maximum file size in kilobytes. Remember, a
megabyte is 1024 kilobytes!

 By default, files are uploaded to the root of the region. To specify a
different folder, enter the path to the folder relative to the selected
region. The folder path must be below the level of the selected region.
If a folder does not exist, MGI will create it automatically.

 By default, all files that you try to upload are denied. Enter regular
expressions that match authorized file names. The uploaded file name
will be checked against the regular expressions until a match is found
or until all expressions have been checked. Files that are not
authorized for upload will be deleted and will not be written to the
server. To allow any file to be uploaded, enter a single period (.) in
the regular expression box. See the regular expression reference for
more information and examples. For examples, these regular expressions
will allow .jpg, .jpeg and .gif files to be uploaded:

[.][Jj][Pp][Gg]$
[.][Jj][Pp][Ee][Gg]$
[.][Gg][Ii][Ff]$

 Click the "Save" button to save the region preferences including file
upload preferences. 

2. Upload the upload.mgi and results.mgi page to your server.

3. Access the upload.mgi page in a web browser.  Enter or browse to
select a file to upload and click the "Submit Image" button.

-- Using MGI 2.0
   PagePlanet Software, Inc.
   http://www.pageplanetsoftware.com
   techsupport@pageplanetsoftware.com
