axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] RE: [SAGEdev] NotebookWiki


From: Page, Bill
Subject: [Axiom-developer] RE: [SAGEdev] NotebookWiki
Date: Tue, 5 Sep 2006 22:12:43 -0400

On Tuesday, September 05, 2006 8:17 PM William Stein wrote:
> On Tue, 05 Sep 2006 16:59:20 -0700, Bill Page wrote:
> > Adapting the Sage notebook to be used by Axiom sounds very
> > interesting. Of course I am also interested in providing a more
> > general interface to Axiom from Sage in the same manner as the
> > existing Maxima interface.
> 
> I've started working on this some.  I got distracted by a 
> bunch of travel though, which just came to an end.  Probably
> what will happen is that I'll make a first version that works,
> but for which some standard things in Axiom are hard to do,
> or some things are too slow, and we'll work to make the 
> interface more usable.

Great. I took a look at the Maxima interface, but it was a bit
overwelming as a place start for me as a novice Sage developer
(although I must admit I learnt somethings about using Pexpect
that I am already planning to duplicate on Axiom Wiki :). If you
can give me even a basic shell that calls Axiom with some command
and returns a result to Sage, plus some hints as to how to install
and test it in my Sage installation, then I would be glad to try
to help.

> 
> > Because of firewall restrictions I have problems accessing non-
> > standard HTTP ports like 9001 from my usual place of work. Is
> > there anyway you can make the NotebookWiki page accessible
> > through port 80 or 443?
> 
> I haven't only because of laziness. If you could give me 
> instructions how to do this (sage.math is an ubuntu linux
> box running apache2), I could do it.

You will need to add something like the following to your Apache
configuration file:

LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
...
<VirtualHost 209.135.140.38>
  ServerName   sage-notebook.axiom-developer.org
  ErrorLog     /home/page/sage-logs/error_log
  CustomLog    /home/page/sage-logs/access_log common
  ProxyPass    / http://sage.math.washington.edu:8100/
  ProxyPassReverse / http://sage.math.washington.edu:8100/
</VirtualHost>

<VirtualHost 209.135.140.38>
  ServerName   sage-wiki.axiom-developer.org
  ErrorLog     /home/page/sage-logs/error_log
  CustomLog    /home/page/sage-logs/access_log common
  ProxyPass    / http://sage.math.washington.edu:9001/
  ProxyPassReverse / http://sage.math.washington.edu:9001/
</VirtualHost>

These are the actual configuration options used on the
axiom-developer server. Of course you must change the ip
address and directories as appropriate for your system.

If you get stuck or if this is very unclear, let me know and
I can give you more explicit instructions.

> 
> > Or would you mind if I proxied your
> > site via the Apache web server at axiom-developer.org?
> 
> Please do and let me know the address.
> 

Here is the axiom-developer proxy address for your wiki:

http://sage-wiki.axiom-developer.org

Here also is an axiom-developer proxy for the prototype
NotebookWiki at http://sage.math.washington.edu:8100

http://sage-notebook.axiom-developer.org

Both of these work fine through my firewall.

Regards,
Bill page.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]