11.07.2015 Views

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

If you wish to use webMathematica in conjunction with a separate web server, you will need to36 webMathematica User Guideapplication. This will make sure that requests for applet archives, HTML pages, and images areproperly processed. If the server is only set to allow access to servlets, then these otherresources will not be accessible.If you just wish to test webMathematica running directly through a servlet container such asTomcat, you may skip this section.Apache and TomcatThere are a number of ways for the Apache web server to communicate with Tomcat. Oneconvenient way is to use an HTTP forwarding mechanism to send requests from the Apache webserver to Tomcat. This can be arranged with the ProxyPass configuration directive. A sampleconfiguration, that could be added to the Apache configuration file (typically called httpd.Öconf), is shown below.Order allow,denydeny from allProxyPass /webMathematica http://tomcatserver:8080/webMathematicaProxyPassReverse /webMathematica http://tomcatserver:8080/webMathematicaThe ProxyPass directive provides a mapping from a path to an external URL, and the ProxyPassÖReverse directive causes the responses to be modified so that the proxy is transparent. Anyaccess to /webMathematica will be sent to port 8080 on the machine tomcatserver. The configu-ration also denies access to the kernel monitor via the proxy. The features of the kernel monitorare described in a later section.For the ProxyPass directive to be effective, the modules mod_proxy and mod_proxy_http mustbe loaded, this can be done with the following configuration information in the Apache configurationfile.LoadModule proxy_module modules/mod_proxy.soLoadModule proxy_http_module modules/mod_proxy_http.soFor more information on using Apache and Tomcat, you should consult the websites for Apache,http://httpd.apache.org, and Tomcat, http://jakarta.apache.org. Note that you can run Apacheon both Windows and Unix machines, as well as Mac OS X machines. Another useful website ishttp://www.galatea.com/flashguides/apache-tomcat-4-win32.xml.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!