38
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
For more information on using Apache and Tomcat, you should consult the web sites for Apache,
http://httpd.apache.org, and Tomcat, http://jakarta.apache.org. Note that you can run Apache on both Windows and
Unix
machines,
as
well
as
Mac
OS
X
machines.
Another
useful
web
site
is
http://www.galatea.com/flashguides/apache tomcat 4 win32.xml.
Microsoft Servers and Tomcat
If you wish to deploy Microsoft PWS or IIS as your web server, it is possible to use them with Tomcat as a servlet
container.
Tomcat comes with instructions for configuring it as a servlet container for IIS and PWS. The configuration has to
be done manually, and, although straightforward, it has a number of steps that must be followed carefully and
involves editing the Windows registry by hand. Because of these manual steps, it is perhaps easier to use JRun with
these servers.
You need to make sure that you edit the workers.properties file, found in the Tomcat conf directory, to
give values to workers.tomcat_home and workers.java_home. The required settings will be clear from
the description in the file.
Apache/Microsoft Servers and JRun
JRun provides a Connector Wizard, which is accessible through the JRun Management Console. This can be used to
forward requests to webMathematica.
2.7 Testing
You should now be able to restart your server and connect to webMathematica. Note that you may have to modify
the URLs shown in this document to connect to your servlet container; for example, the URL may require a different
port number than 8080, which is chosen as the default port for direct access to Apache Tomcat. The URL that you
use to test your servlet container will show the correct URL to use for webMathematica. In addition, you should
note that the URL is case sensitive, so make sure to type in capitals as they appear.
You may first want to connect to the webMathematica front page via http://localhost:8080/webMathematica; this
should look similar to the picture below. It contains links to examples, documentation, templates, images, and
external references.
.
<
New Page 1
Comcast Web Hosting