On Fri, Sep 19, 2008 at 7:48 PM, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > 2008/9/20 Carl Nobile <[EMAIL PROTECTED]>: >> mod_wsgi is not a framework, so don't expect it to generate web pages for >> you it is a way of using WSGI (Web Service Gateway Interface) with apache >> only, and is very light weight compared to other alternatives. You could get >> what you want from something like Django which would then sit on top of >> mod_wsgi. You're still going to be writing some code however. > > Even so, I have thought about having in mod_wsgi a mini WSGI > application which could be referenced from embedded mod_wsgi module > that exists which would dump out some information. This would be > useful as a means of just verifying in what context your application > is running, eg. prefork/worker, embedded/daemon, multithreaded, > os.environ, wsgi environ etc etc. > > If this existed, you would still need to have a WSGI script file that > invokes it. The problem though is that core mod_wsgi is C code only > and want to keep it that way. Ie., don't want for it to be required to > install separate Python modules as well. A lot of the problems people > had with mod_python was because it was installing both an Apache > module and Python modules into different places. I don't though > cherish writing a WSGI application in C code. > > What will more likely happen is that have always see having a parallel > package called mod_wsgi_py which is a bunch of Python utility modules > which would be useful with mod_wsgi, but not a mandatory requirement. > For example, WSGI application that can dump out system information, > WSGI middleware for debugging etc etc. > This will be awesome, it could also include some of the utilities of http://code.google.com/p/modwsgi/wiki/DebuggingTechniques basically anything that will help with figuring out what could have gone wrong.
> The current C code in mod_wsgi already caters for this existing in > that when mod_wsgi is started it will try and import Python 'mod_wsgi' > module and if exists, then overlay Apache module specific information > on top of that module, else it will create in memory Python module > instance for 'mod_wsgi' and stick the Apache module specific > information in that. I just need to ship the 'mod_wsgi_py' package > this was designed for. :-) > > Graham > >> -Carl >> >> On Fri, Sep 19, 2008 at 10:35 AM, Lukasz Szybalski <[EMAIL PROTECTED]> >> wrote: >>> >>> Hello, >>> Is there a way from modwsgi to get something similar to this: >>> >>> http://www.franklindigitalproperties.com/php_info.php >>> >>> especially the part that lists all the related modules. >>> >>> Thanks, >>> Lucas >>> >>> >>> >>> >>> -- >>> Python and OpenOffice documents and templates >>> http://lucasmanual.com/mywiki/OpenOffice >>> Fast and Easy Backup solution with Bacula >>> http://lucasmanual.com/mywiki/Bacula >>> >>> >> >> >> >> -- >> ------------------------------------------------------------------------------- >> Carl J. Nobile (Software Engineer) >> [EMAIL PROTECTED] >> ------------------------------------------------------------------------------- >> >> > >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to modwsgi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---