Is it possible to put the webMathematica folder outside the usual Tomcat webapps folder and still have webMathematica work?
webMathematica does work OK if its whole folder is placed inside Tomcat's webapps — and accessed in the browser as localhost:8080/webMathematica.
(This is with Tomcat 9 under OS X 10.10.4 and using webMathematica 3.3.2 calling Mathematica 10.2.)
Configuration details would be greatly appreciated!
In asking this I have four aims:
Granularize things so that I can just back up the
webMathematicafolder, along with other documents of mine, separately from backing up Tomcat's own files such as those in its distributedwebappsfolder.Be able to access webMathematica (and, eventually, some specific apps using it) on localhost by means of a simple URL "alias", such as
webmathematica, rather than the usual complete URLlocalhost:8080/webMathematica— just as I can now access Tomcat's webapps by entering the URLtomcat.local.[added] Still allow use of Tomcat for webapps other than webMathematica. Thus changing the entire Tomcat
docBasevalue — if that actually worked — would not allow achieving this aim.[added] Be able to run webMathematica in my browser by entering a simple URL such as
webmathematica.local(without the fully-qualified URLlocalhost:8080/webMathematica).
http://localhost:8080/webMathematica! But what I'd actually like to do is use a simpler URL such aswebmathematica.local, and for that obviously some kind of additional configuration of tomcat and/or apache is required. (In apache I'm passing calls to tomcat via ajp.) – murray May 06 '13 at 21:24127.0.0.1 webmathematica.localto/etc/hostsand a correspondingVirtualHostentry toapache2/conf/extra/httpd-vhosts.conf?` – murray Aug 14 '15 at 14:01