Great tip!<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 5, 2012 at 1:45 AM, epi <span dir="ltr"><<a href="mailto:massimodisasha@gmail.com" target="_blank">massimodisasha@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>i don't know if can help,</div><div>i'm using something like that :</div>
<div><br></div><div>- start python on port yyyy from IP xxx.xxx.xx.xx</div><div>- write a file in /var/www/ipython/myusername.html :</div><div><br></div><div><br></div><div><table><tbody><tr><td></td><td><span><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"</span></td>
</tr><tr><td></td><td><span>"<a href="http://www.w3.org/TR/html4/strict.dtd" target="_blank">http://www.w3.org/TR/html4/strict.dtd</a>"></span></td></tr><tr><td></td><td><span><html></span></td></tr><tr>
<td></td><td><span><head></span></td></tr><tr><td></td><td><span><title></span>IPython<span></title></span></td></tr><tr><td></td><td><span><META <span>name</span>="<span>IPython</span>" <span>content</span>="<span>IPython</span>"></span><span><META <span>name</span>="<span>keywords</span>" <span>content</span>="<span>IPython</span>"></span></td>
</tr><tr><td></td><td><span></head></span></td></tr><tr><td></td><td><span><frameset <span>rows</span>="<span>100%,*</span>" <span>border</span>="<span>0</span>"></span></td></tr><tr><td></td>
<td><span><frame <span>src</span>="<a href="http://128.128.89.215:10005/" target="_blank"><br></a></span></td></tr><tr><td></td><td><span><span>http://xxx.xxx.xx.xx:yyyy/</span>" <span>frameborder</span>="<span>0</span>" /></span></td>
</tr><tr><td></td><td><span><frame <span>frameborder</span>="<span>0</span>" <span>noresize</span> /></span></td></tr><tr><td></td><td><span></frameset></span></td></tr><tr><td></td><td><span></html></span></td>
</tr></tbody></table><div><br></div><div><br></div><div>and load it in the browser :</div><div><br></div><div><a href="http://xxx.xxx.xx.xx/" target="_blank">http://xxx.xxx.xx.xx/</a>ipython/myusername.html</div><div><br>
</div><div>--Massimo.</div><div><br></div><div><br></div><div><div>Il giorno 04/dic/2012, alle ore 17:18, "Burns, Scott S" <<a href="mailto:scott.s.burns@Vanderbilt.Edu" target="_blank">scott.s.burns@Vanderbilt.Edu</a>> ha scritto:</div>
<br><blockquote type="cite">
<div style="word-wrap:break-word">
<div>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.
<font face="Inconsolata">$ sudo ipython notebook --profile=[my profile] </font>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.</div>
<div><br>
</div>
<div>So my colleagues wouldn't have to type a port in the URL, could I:</div>
<div>- Just make the notebook serve localhost</div>
<div>- Setup a reverse proxy in apache so <a href="https://localhost:8888/" target="_blank">https://localhost:8888/</a> responds to
<a>https://[hostname]/ipython/</a> or whatever url I choose</div>
<div><br>
</div>
<div>I know most of us aren't sys admins but has anyone else run into something like this?</div>
<div><br>
</div>
<div>
<div>
<div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
--Scott</div>
</div>
</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>IPython-User mailing list<br><a href="mailto:IPython-User@scipy.org" target="_blank">IPython-User@scipy.org</a><br><a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</blockquote></div><br></div></div><br>_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Brian E. Granger<br>Cal Poly State University, San Luis Obispo<br><a href="mailto:bgranger@calpoly.edu" target="_blank">bgranger@calpoly.edu</a> and <a href="mailto:ellisonbg@gmail.com" target="_blank">ellisonbg@gmail.com</a><br>
<br>
</div>