The Web Server tab enables you to modify configuration settings specific to the main Web server.
The Web Server tab
You can learn more about the DWebPro Primary Web Server reading the Primary Web Server FAQs topic.
The fields in http.ini specific to the
Web Server section are shown below:
[WebServer] ; Web Server settings Start=1 DefaultDocuments=index.htm|index.html|default.htm|default.html|index.asp|default.asp|index.php|index.php3|default.php|default.php Disconnect=1 SSI=1 DirectoryListing=1 Aliases= ; Network settings IP=127.0.0.1 Port=8080 FindFreePort=1 ; SSL Support settings SSL.Start=0 SSL.IP=127.0.0.1 SSL.Port=8085 SSL.FindFreePort=1 SSL.CertFile=##DWEBPRO_PATH##\certificates\localhost.cer
SSL.KeyFile=##DWEBPRO_PATH##\certificates\localhost.key ; CGI Support settings CGIDocuments=.exe|.com|.bat|.pif CGIFolder=##DWEBPRO_DOCUMENTROOT##\cgi-bin Timeout=20000 ; Logging settings LogLevel=2 LogPath=##DWEBPRO_TEMP##\dwebpro.log ; Rewrite Engine settings RewriteEngine.Start=1 RewriteEngine.FileName=##DWEBPRO_DOCUMENTROOT##\rewrite.ini RewriteEngine.ReloadOnEveryRequest=1
Web Server settings
Start Primary Web Server
Start
Start Primary Web Server specifies whether
the primary Web server should be started.
Accepted values: 1, 0
Default Documents
DefaultDocuments
Default Documents identifies the names
of the files that the primary Web server will allow as default documents.
Accepted values: string, separated by
the "|" character
Disconnect After Request
Disconnect
Disconnect After Request specifies if
the socket will be disconnected at each request. Set this value to 1 (recommended) if you use the
LoadVars or LoadXML Flash functions. Accepted values: 1, 0
Enable SSI
SSI
Enable SSI specifies if the primary Web
server must use the Server Side Include extension. DWebPro supports
the following tags:
include, config, echo, fsize, flastmod, and exec. Accepted values: 1, 0
Enable Directory Listing
DirectoryListing
Enable Directory Listing specifies if
the primary Web server must show the list of the files when an HTTP
request is made for a directory that does not contain a default document.
Accepted values: 1, 0
Aliases
Aliases
Aliases specifies the folder aliases
similar to those provided by Apache. Each alias=path pair must be separated by a pipe "|" character.
Accepted values: pairs of alias=path,
separated by the "|" character
Network settings
IP
IP
IP specifies the IP address on which
the primary Web server will listen on. Set this to 0.0.0.0 for all available IPs.
Accepted values: string, in IPv4 format
Port
Port
Port specifies the port on which the
primary Web server will be listening.
Accepted values: integer
Find Free Port
FindFreePort
Find Free Port specifies whether DWebPro
should search for a free port upon start up of the primary Web Server.
The used port will be saved into the
##DWEBPRO_WEBSERVER_PORT## internal constants. Refer to the DWebPro Internal Constants topic for
additional information. Accepted values: 0, 1
SSL Support settings
Start SSL support
SSL.Start
Start SSL support specifies whether
the SSL Web server should be started. If your country avoids the use of strong encryption technology like SSL or if you have to distribute your projects in such contries, contact us and we will provide you a
dwebpro.exe binary without strong encryption support. Accepted values: 1, 0
IP
SSL.IP
IP specifies the IP address on which
the SSL Web server will use. Set this to 0.0.0.0 for all available IPs.
Accepted values: string, in IPv4 format
Port
SSL.Port
Port specifies the port on which the
SSL Web server will be listening.
Accepted values: integer
Find Free Port
SSL.FindFreePort
Find Free Port specifies whether DWebPro
should search for a free port upon start up of the SSL Web Server.
The used port will be saved into the
##DWEBPRO_SSLWEBSERVER_PORT## internal constants. Refer to the DWebPro Internal Constants topic for
additional information. Accepted values: 0, 1
Certificate File
CertFile
Certificate File specifies the path of the certificate file (
*.cer) for the SSL Web Server. Refer to the DWebPro Internal Constants topic for additional information
on paths. Accepted values: string
Private Key File
KeyFile
Private Key File specifies the path of the private key file (
*.key) for the SSL Web Server. Refer to the DWebPro Internal Constants topic for additional information
on paths. Accepted values: string
CGI Support settings
CGI Documents
CGIDocuments
CGI Documents specifies the file extensions
that the primary Web server treats as CGI.
Accepted values: string, separated by
the "|" character
CGI Folder
CGIFolder
CGI Folder specifies the folder in which
the binary CGIs reside. Refer to the DWebPro Internal Constants topic for additional information
on paths.
Accepted values: string
Timeout
Timeout
Timeout specifies the timeout duration,
in milliseconds, of the primary Web server.
Accepted values: integer
Logging settings
Log Level
LogLevel
Log Level specifies the degree of logging
that occurs. Use a value of 0 for
no logging; 1 for short logging;
and, 2 for full logging (recommended
for development only).
Accepted values: 0, 1, 2
Log Path
LogPath
Log Path specifies the path of the primary
Web server's log file. Refer to the DWebPro Internal Constants topic for additional information
on paths.
Accepted values: string
Rewrite Engine settings
Start Rewrite Engine
RewriteEngine.Start
Start Rewrite Engine specifies if DWebPro
has to start the rewrite engine. For more information, refer to the URL Rewrite Engine topic.As you build your rewrite rules, you can test them using the
provided Rewrite Engine Tester tool, which is located under the DWebPro
Utilities Program Group.
Accepted values: 1, 0
Rules File
RewriteEngine.FileName
Rules File specifies the path of the
file (INI file) that contains the URL rewriting rules. For more information,
refer to the URL Rewrite Engine topic.
Accepted values: string
Reload on Every Request (only for test purpose)
RewriteEngine.ReloadOnEveryRequest
Reload on Every Request specifies if
DWebPro has to reload the rules file on every HTTP request. This feature
must be activated for testing only because it greatly reduces performance
and cannot be used on read-only media like CD/DVD.
Accepted values: 1, 0

