[Tutor] where is the wsgi server root?

Joel Goldstick joel.goldstick at gmail.com
Wed Apr 15 01:23:47 CEST 2015


On Tue, Apr 14, 2015 at 12:56 PM, Jim Mooney <cybervigilante at gmail.com> wrote:
> I set up a simple python wsgi server on port 8000,  which works, but where
> the heck is the server root? Is there a physical server root I can simply
> put a python program in, as I put a html program into the wampserver root,
> and see it in a browser on localhost:port 8000, or do I need to do a bit
> more reading ;')   I just cut and pasted the server setup code from the
> docs, and assumed a server would have a physical root as my local
> wampserver does. I don't want to fool with django right now - just do the
> simplest thing to see if I can get python on a web page since I'm used to
> making them.
>
> Or if the root is virtual how do I set up a physical root?
>
> Or am I totally confused?
>
> --
> Jim

Here is a link about wsgi:
https://code.google.com/p/modwsgi/

It isn't like php.  You can put your code anywhere.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor



-- 
Joel Goldstick
http://joelgoldstick.com


More information about the Tutor mailing list