[IPython-User] Notebook and Apache

Burns, Scott S scott.s.burns@Vanderbilt....
Thu Dec 6 09:38:15 CST 2012


Works like a charm, thanks Brian and Massimo.

--Scott

On Dec 5, 2012, at 12:30 PM, Brian Granger <ellisonbg@gmail.com<mailto:ellisonbg@gmail.com>> wrote:

Great tip!


On Wed, Dec 5, 2012 at 1:45 AM, epi <massimodisasha@gmail.com<mailto:massimodisasha@gmail.com>> wrote:
Hi,

i don't know if can help,
i'm using something like that :

- start python on port yyyy from IP xxx.xxx.xx.xx
- write a file in /var/www/ipython/myusername.html :


        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
        <html>
        <head>
        <title>IPython</title>
        <META name="IPython" content="IPython"><META name="keywords" content="IPython">
        </head>
        <frameset rows="100%,*" border="0">
        <frame src="
<http://128.128.89.215:10005/>
        http://xxx.xxx.xx.xx:yyyy/" frameborder="0" />
        <frame frameborder="0" noresize />
        </frameset>
        </html>


and load it in the browser :

http://xxx.xxx.xx.xx/ipython/myusername.html

--Massimo.


Il giorno 04/dic/2012, alle ore 17:18, "Burns, Scott S" <scott.s.burns@Vanderbilt.Edu<mailto:scott.s.burns@Vanderbilt.Edu>> ha scritto:

I've got apache running on my local machine, mostly serving static files. I setup an ipython profile for an outward facing notebook server specifying port 80 in the config file. $ sudo ipython notebook --profile=[my profile] didn't crash like I thought it would, but the server now lives at 81 because it couldn't bind to 80 and just tried for the next open port.

So my colleagues wouldn't have to type a port in the URL, could I:
- Just make the notebook serve localhost
- Setup a reverse proxy in apache so https://localhost:8888/ responds to https://[hostname]/ipython/ or whatever url I choose

I know most of us aren't sys admins but has anyone else run into something like this?

--Scott

_______________________________________________
IPython-User mailing list
IPython-User@scipy.org<mailto:IPython-User@scipy.org>
http://mail.scipy.org/mailman/listinfo/ipython-user


_______________________________________________
IPython-User mailing list
IPython-User@scipy.org<mailto:IPython-User@scipy.org>
http://mail.scipy.org/mailman/listinfo/ipython-user




--
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu<mailto:bgranger@calpoly.edu> and ellisonbg@gmail.com<mailto:ellisonbg@gmail.com>

_______________________________________________
IPython-User mailing list
IPython-User@scipy.org<mailto:IPython-User@scipy.org>
http://mail.scipy.org/mailman/listinfo/ipython-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121206/0e68c49c/attachment.html 


More information about the IPython-User mailing list