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">&lt;<a href="mailto:massimodisasha@gmail.com" target="_blank">massimodisasha@gmail.com</a>&gt;</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&#39;t know if can help,</div><div>i&#39;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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot;</span></td>
</tr><tr><td></td><td><span>&quot;<a href="http://www.w3.org/TR/html4/strict.dtd" target="_blank">http://www.w3.org/TR/html4/strict.dtd</a>&quot;&gt;</span></td></tr><tr><td></td><td><span>&lt;html&gt;</span></td></tr><tr>
<td></td><td><span>&lt;head&gt;</span></td></tr><tr><td></td><td><span>&lt;title&gt;</span>IPython<span>&lt;/title&gt;</span></td></tr><tr><td></td><td><span>&lt;META <span>name</span>=&quot;<span>IPython</span>&quot; <span>content</span>=&quot;<span>IPython</span>&quot;&gt;</span><span>&lt;META <span>name</span>=&quot;<span>keywords</span>&quot; <span>content</span>=&quot;<span>IPython</span>&quot;&gt;</span></td>
</tr><tr><td></td><td><span>&lt;/head&gt;</span></td></tr><tr><td></td><td><span>&lt;frameset <span>rows</span>=&quot;<span>100%,*</span>&quot; <span>border</span>=&quot;<span>0</span>&quot;&gt;</span></td></tr><tr><td></td>
<td><span>&lt;frame <span>src</span>=&quot;<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>&quot; <span>frameborder</span>=&quot;<span>0</span>&quot; /&gt;</span></td>
</tr><tr><td></td><td><span>&lt;frame <span>frameborder</span>=&quot;<span>0</span>&quot; <span>noresize</span> /&gt;</span></td></tr><tr><td></td><td><span>&lt;/frameset&gt;</span></td></tr><tr><td></td><td><span>&lt;/html&gt;</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, &quot;Burns, Scott S&quot; &lt;<a href="mailto:scott.s.burns@Vanderbilt.Edu" target="_blank">scott.s.burns@Vanderbilt.Edu</a>&gt; ha scritto:</div>
<br><blockquote type="cite">



<div style="word-wrap:break-word">
<div>I&#39;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&#39;t crash like I thought it would, but the server now lives at 81 because it couldn&#39;t bind to 80 and just tried for the next open port.</div>

<div><br>
</div>
<div>So my colleagues wouldn&#39;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&#39;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>