[Tutor] where is the wsgi server root?

Jim Mooney cybervigilante at gmail.com
Wed Apr 15 05:11:41 CEST 2015


I'm guessing; but I'd expect it to be the current directory

> when you started the server. try adding a
>
> print( os,getcwd() )
>
> And see if the result is your root.
> Or you could try reading the documents...they might tell you!
>
> --
> Alan G


Read the docs? Where's the fun in that ;')

Actually, I found the root in the curdir and got a simple index.html page
going on the python server at port 8000. Odd, I figured it would be
index.py, as in index.php. That's all I wanted to do at present - see if I
could get it working.

Jim


More information about the Tutor mailing list