Online documentation - WebsydianExpress v3.0 |
A number of site settings all relates to the URL used to access the application.
These settings are: Form Action, Entry URL, HTTP URL, HTTPS URL.
This section is an explanation of these settings - and how they relate to the URL of the application.
Each event implemented as an EventHandler results in an HTML FORM when the template is generated.
An HTML FORM contains an attribute "ACTION". This attribute specifies the program the web server must call when the FORM is activated.
The form action specifies the exact text that will be inserted in the HTML FORM ACTION attribute when an HTML page is generated.
For example, if the site setting is "basicsite", the start of the generated HTML form will be:
<form action="basicsite" ...>
The entry URL is used by the WebsydianExpress runtime to identify which site a request must access.
When a request is received by a web server it uses the URL to resolve the virtual directory specified. Using the definitions for this virtual directory the web server can identify the program it must call.
Even though one WebsydianExpress installation specifies more than one site - it will be specified in the web server as one virtual directory.
This means that when a web server receives a request intended for a WebsydianExpress installation, it will always call the same program, no matter which site the request is intended for.
This program then uses the URL from the request with the entry URL registered for the sites defined in the Websydian installation - and directs the request to the correct site.
At the present, the only thing the HTTP URL is used for, is to make it possible to access other sites using the site overview administration function.
The HTTP URL specifies the URL you must use to access the site.
The HTTPS URL is an optional value - at the present, WebsydianExpress does not use this value.
To understand which values you must enter in these site settings it is important to have a basic knowledge about how a URL is constructed - basically the format is:
<protocol>://<server>:<port>/<path>
So the following URL split into the components:
http://www.websydian.com/express_iseries/site/demosite
<protocol> = http
<server> = www.websydian.com
<port> = Not specified - the default for HTTP is 80, the default for HTTPS is 443.
<path> = express_iseries/site/demosite
For a WebsydianExpress installation the <path> is split into two parts:
<path> = <installation>/<site>
for the example:
<installation> = express_iseries/site
<site> = demosite
There are two options here:
1. Specify the full URL.
2. Specify <site>.
Must always be <path>.
There are two options:
1. Specify the full URL
2. Specify <path>
Do not enter any values.