MANAGER_START_HTTP
is set to TRUE
in the JWAVE Configuration Tool, as described in Using the JWAVE Configuration Tool. VNI_DIR/jwave-3_0/bin/jwave_http.cfg
VNI_DIR
is the main Visual Numerics installation directory. To change the default location of the
jwave_http.cfg
file, edit the property HTTP_CONFIG
in the JWAVE Configuration Tool.
NOTE: On Windows platforms, you must use two back slashes (\\) as a directory separator, rather than the normal single back slash (\). For example:
C:\\Program Files\\MyDocs
manager shutdown manager start
net stop jwaveservice net start jwaveservice
Default:
VNI_DIR/classes
Example:
homeDir = c:\\program files\\myWebHome
indexFile
Default:
index.html
Example:
indexFile = index.html
JWaveURL
http://myhost:8080/JWave
). Should start with a slash (/). Default:
/JWave
Example:
JWaveURL = /JWave
MimeDefault
Default:
application/octet-stream
Example:
MimeDefault = application/octet-stream
Syntax:
dir.
url
=
full-path-to-directory
url
with the top-level URL you wish to map (no slashes are allowed)Replace
full-path-to-directory
with the full path to the directory that should map to that URL For example, if you want the URL
http://myhost/someplace/file.html
to map to the server's file C:\Program Files\MyDocs\file.html
, then use:
dir.someplace = C:\\Program Files\\MyDocs
dir.classes = VNI_DIR/classes
VNI_DIR
is the JWAVE installation directory.
file.ext
) to a Mime type.Syntax:
mime.ext
=
mime-type
![]()
ext
with the file extension (whatever follows the last period in the file).
mime-type
with the Mime type to use when serving files with the given extension.
foo.html
as Mime type text/html
, use:
mime.html = text/html
mime.html = text/html mime.htm = text/html mime.jpeg = image/jpeg mime.jpg = image/jpeg mime.gif = image/gif mime.png = image/png mime.txt = text/plain mime.class = application/octet-stream mime.jar = application/octet-stream mime.properties = text/plain