durusmail: quixote-users: Quixote demo problem
Quixote demo problem
2004-08-04
2004-08-05
2004-08-05
Quixote demo problem
Dave Kuhlman
2004-08-05
On Wed, Aug 04, 2004 at 09:14:22AM -0700, Tobiah wrote:
> Hello,

[snip]
>
> So, the href's are all simple relative paths.  My
> web server returns 404 on all of them, and rightly
> so, it seems to me.  I only copied two files to cgi-bin,
> and files like 'error' or 'publish_error' don't exist
> anywhere, as they are simply python functions that I
> gather are supposed to run when I request their names
> in the url of my browser.
>
> What is the magic that I am missing that will cause
> certain requests to run python code, rather than hunt
> for that file on the filesystem?

Read through the programming doc:

    http://www.mems-exchange.org/software/quixote/doc/programming.html

That doc is also in your Quixote source code distribution.

In particular, pay attention to the discussion of _q_exports and
_q_index().

If you want an understanding of Quixote's URL traversal and
resolution mechanism, read the "How Quixote Works" section in the
document "Introducing Quixote: A Simple Link Display" at:

    http://quixote.ca/learn/1

And, this beginners document "A Quixote Application: Getting
Started" may help, if you are a newbie to Quixote:

    http://www.rexx.com/~dkuhlman/quixote_appgetgo.html

I admit it; I wrote that doc, so please send me suggestions if you
have some.

Hope this helps.

Dave

[snip]

--
Dave Kuhlman
dkuhlman@rexx.com
http://www.rexx.com/~dkuhlman

reply