wsgi with separate css file
rami.chowdhury at gmail.com
Fri Nov 13 17:42:20 CET 2009
On Fri, 13 Nov 2009 08:34:57 -0800, Alena Bacova <athenka25 at gmail.com>
> Hi all,
> I just wanted to know if anybody tried using wsgi as a web server that
> be serving html file with separate css file. I managed to make my wsgi
> server display only on html file ( it has got the form tag, and I'm
> do_get and do_post call to) but I would like to have formatting stored in
> separate css file, rather then embedded in html code. Plus being able to
> serve image files with the html would be nice addition.
> I tried to google the thing, but there wasn't any explicit example of
> thing. After I get the do_get request from browser and html is posted I
> get "do_get /file.css" request, but I have no idea how to serve that.
> Any help, examples, suggestions more then welcome.
Can you tell us a little more about your setup? For instance, are you
using the simple_server from the wsgiref module? Where are the application
and CSS files being stored and run?
"Never attribute to malice that which can be attributed to stupidity" --
408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)
More information about the Python-list