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
Sorry, my previous mail was not so well formulated...

Indeed, the StaticFile exist and is dedicated for
that.
BUT
my problem is a bit more complex:

I've got Designers that have build static files that
links to each others via relative path names.
If I not wrong, it's not possible (via StaticFile)
functionality to define page like
'page1.html','page2.html', ...

I'm looking for a possibility to put some static files
(in the Quixote directory) that can link to each
others.


To rephrase it in other words; how build a web site
that mix static files and ptl files ? (and if possible
avoiding to modify the static pages)







--- vincent delft  wrote:
> 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
>
> _______________________________________________
> Quixote-users mailing list
> Quixote-users@mems-exchange.org
>
http://mail.mems-exchange.org/mailman/listinfo/quixote-users


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


reply