fwiiw; the listing you point to (webpy.org/static/) is the output of Lighttpd's mod_dirlisting. I suspect webpy.org is set up as a lighttpd fcgi with an exclusion for /static/, bypassing web.py on those files altogether (sounds like quite a sane deployment, if you ask me).
anyway, to answer your actual question: assuming you can overwrite web.py's handling of /static/ (?) you either: - create your own fancy template and handler with calls to os.lstat and other such fanciness, or - maybe web.py actually has a more elaborate dir listing feature hidden somewhere? or - you hope somebody already did all that hard work and copy/paste into your own app :) greetings, hraban 2011/2/28 Satpreet <[email protected]>: > Newbie Question: So web.py is serving some static files from the > "static/" folder but the directory listing seen through a browser > looks quite basic and crude (no filesize, type etc.) > > How can I get it to look a little more sophisticated (w/o serving > using another server like Apache etc.) like that on the Web.Py website > itself: > http://webpy.org/static/ > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/webpy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
