durusmail: quixote-users: display static html pages within Quixote
display static html pages within Quixote
2004-03-28
2004-03-28
2004-03-28
2004-03-28
2004-03-28
2004-03-28
display static html pages within Quixote
vincent delft
2004-03-28
I'm facing an idiom problem : how to display html
pages with quixote ?
I've several "static" page within my Quixote web site,
and I would like to display them easily.

By reading carefully the documentation I've tried the
_q_lookup functionality :
"
def _q_lookup(req,name):
    if os.path.isfile(name):
        return htmltext(open(name,str('r')).read())
"

My apache config is (no rewrite) :
        
                 SetHandler scgi-handler
                 SCGIServer 127.0.0.1 4002
                 SCGIHandler On
                 Options -Multiviews
        


This way the url : "/quixote/test.html" works.

Does this is the best way to do it ?
Other idea ?

Thanks



__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


reply