Online documentation - Websydian v6.0

Users Guide | Patterns Reference | WebsydianExpress | Search

 

Deploying Websydian Applications on Apache for Windows

Contents

Prerequisites

  1. Before continuing make sure you have Generated and Built your Websydian Application. 
     
  2. Download and install the Apache HTTP Server from the Apache organization at http://httpd.apache.org . Make sure to install as a console application, not as a service.

Copy Websydian Application to the Web Server

  1. Create a directory on the Web Server where you will install the Websydian application. e.g. c:\apache\webdemo.
  2. Copy the files located in your "release" directory to the Websydian directory just created.
  3. Create a directory called html as a subdirectory to the Websydian directory. e.g. c:\websydian\webdemo\html.
  4. Copy your Document Templates to the html directory.

Copy AllFusion Plex runtime files to the Web Server

  1. From your AllFusion Plex "bin" library copy the AllFusion Plex runtime DLL's to the Websydian directory.

    Further information on which DLL's to copy see the AllFusion Plex help.
  2. If using any Active-X controls make sure to copy these too.

Check the ini-file for the Dispatcher

  1. Open the ini-file located in the Websydian directory with the notepad.

    Check the section [HTML] for the following settings:
     

    [HTML]
    PATH=.\HTML\
    DATE=dd/mm/yyyy
    TIME=hh:mm:ss
    TIMESTAMP=dd/mm/yyyy hh:mm:ss

    Make sure the DATE, TIME, and TIMESTAMP  has the correct format for your Websydian Application.

Configure the Apache HTTP Server

  1. Open the Apache configuration file httpd.conf. This file is located under the conf directory of the Apache installation directory.
     
  2. Find the first occurance of the statement ScriptAlias and add a ScriptAlias statement to the configuration file.
     

ScriptAlias /webdemo/ "C:/Apache/webdemo/"

The ScriptAlias name "/webdemo/" is case sensitive by default.

Below the Script Alias add a Directory section for the authoriazation of the directory described under the ScriptAlias.

<Directory "c:/Apache/webdemo">
  AllowOverride None
  Options None
  Order allow,deny
  Allow from all
</Directory>

Start the Apache HTTP Server

Select the "Start Apache in console" from the menu item created during installation of the Apache HTTP Server. This will start the Apache HTTP Server in a console which will be shown as a window holding no information.

Default installation of the Apache HTTP Server as a console application sets the listening port to 8080. Change this by changing the value of the Listen statement in the configuration file. 

In order to check if the Apache HTTP Server is running, try accessing the server from the browser http://localhost:8080.

Test the Websydian Application

  1. As the Apache HTTP Server is running as a program under the current user just access your web application from your internet explorer to test your application.

 

http://localhost:8080/webdemo/dispat.exe

 

Further information

Further information on the Apache HTTP Server can be found at http://www.apache.org/