On 2012-08-03 18:15, Stephan Beal wrote:
On Fri, Aug 3, 2012 at 6:06 PM, Rene <[email protected] [1]> wrote:

I'm not sure I follow you. again fossil has evolved this way. You
have a wonderful opportunity to take fossil system and build ...you
can set the the first page to anything you want. including
index.html

He was referring to fossil's (possibly undocumented) feature that if a
/doc dir has a file named "index.html" then it is served as-is,
without any of the normal bling wrapped around it. i only recently
learned about it.

That is not only for a directory called /doc. If I make a directory hans i get also
No such document: hans/index.html

However as you call the doc page it has 2 forms
** WEBPAGE: doc
** URL: /doc?name=BASELINE/PATH
** URL: /doc/BASELINE/PATH
**
since name is nonexisting and path also
the default is used tip/index.wiki
and then you get
No such document: index.wiki

If you do have a path /doc/trunk/hans/
 I am without words by the fact that is does come back with

No such document: hans/index.html

while the code says:
doc_not_found:
  /* Jump here when unable to locate the document */
  db_end_transaction(0);
  style_header("Document Not Found");
  @ <p>No such document: %h(PD("name","tip/index.wiki"))</p>

Which probably means that it is not coming there! ;-)

 --
----- stephan beal
http://wanderinghorse.net/home/stephan/ [2]
http://gplus.to/sgbeal [3]


Links:
------
[1] mailto:[email protected]
[2] http://wanderinghorse.net/home/stephan/
[3] http://gplus.to/sgbeal

--
Rene
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to