[IPython-dev] ipython on webfaction hosting

Massimo Di Stefano massimodisasha@gmail....
Wed Jun 20 22:05:19 CDT 2012


ipython notebook --profile geohab --NotebookApp.base_project_url=http://geohab.org/ipython --NotebookApp.base_kernel_url=http://geohab.org/ipython

[NotebookApp] Using existing profile dir: u'/home/epy/.ipython/profile_geohab'
[NotebookApp] WARNING: the notebook server is listening on all IP addresses but not using any encryption or authentication. This is highly insecure and not recommended.
[NotebookApp] The IPython Notebook is running at: http://[all ip addresses on your system]:30333http://geohab.org/ipython


the log :
[NotebookApp] The IPython Notebook is running at: http://[all ip addresses on your system]:30333http://geohab.org/ipython

seems bad so  i tryed :


(env1)[epy@web317 ~]$ ipython notebook --profile geohab --NotebookApp.base_project_url=/ipython --NotebookApp.base_kernel_url=/ipython[NotebookApp] Using existing profile dir: u'/home/epy/.ipython/profile_geohab'
[NotebookApp] WARNING: the notebook server is listening on all IP addresses but not using any encryption or authentication. This is highly insecure and not recommended.
[NotebookApp] The IPython Notebook is running at: http://[all ip addresses on your system]:30333/ipython


in this case if i point the browser to :

http://geohab.org/ipython

i have in the browser :

404: Not Found

in the shell logs :

WARNING:root:404 GET / (127.0.0.1) 0.48ms


if i point the browser to :

http://geohab.org/ipython/ipython/

i got again the html page without js/css

but this time the log in the shell is :

WARNING:root:404 GET /ipython (127.0.0.1) 0.41ms


any clue ?

thanks!!!

Massimo.



Il giorno Jun 20, 2012, alle ore 10:17 PM, Brian Granger ha scritto:

> I think you need to set the following config variables:
> 
> --NotebookApp.base_kernel_url=<Unicode>
>    Default: '/'
>    The base URL for the kernel server
> --NotebookApp.base_project_url=<Unicode>
>    Default: '/'
>    The base URL for the notebook server
> 
> In either the command line or terminal:
> 
> ipython notebook
> --NotebookApp.base_project_url=http://geohab.org/ipython/
> --NotebookApp.base_kernel_url=http://geohab.org/ipython/
> 
> Cheers,
> 
> Brian
> 
> On Wed, Jun 20, 2012 at 7:03 PM, Massimo Di Stefano
> <massimodisasha@gmail.com> wrote:
>> Hi All,
>> 
>> is anyone familiar with webfaction [1] ?
>> 
>> it is a web-hosting service .. i'm tring to run the ipython notebook from it but something is going wrong.
>> 
>> i sent already a mail to the suppport, but i was wondering if someone here knows how to fix it.
>> 
>> 
>> 
>> the link to the notebook is :
>> 
>> http://geohab.org/ipython
>> 
>> i can see the page is loaded but is not able to load the application ... something is going wrong.
>> all the js and css files are not loaded.
>> 
>> 
>> trying to understand what's going on …
>> 
>> using firefox : if i click on the text on the top "Ipython Notebook"
>> 
>> it should point to the same page, instead is going back to the web-root : http://geohab.org
>> 
>> have you any clue on what i should do in order to have it running properly ?
>> 
>> many thanks!
>> 
>> Massimo.
>> 
>> 
>> [1]  http://www.webfaction.com/
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> 
> -- 
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> bgranger@calpoly.edu and ellisonbg@gmail.com
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



More information about the IPython-dev mailing list