Re: [fossil-users] can this be done in fossil: hyperlinking to subdir of fossil repo

2010-04-07 Thread Joshua Paine
On 04/07/2010 02:16 AM, Stephan Beal wrote: i tried that, but in CGI mode my index.cgi _is_ my root dir (as far as Fossil CGI is concerned). Wait... so if on a fossil wiki page, you type a href=/fooFoo/a (the leading slash being essential), when you view that page in the browser, fossil has

Re: [fossil-users] can this be done in fossil: hyperlinking to subdir of fossil repo

2010-04-07 Thread Joshua Paine
On 04/07/2010 06:37 AM, Stephan Beal wrote: i've put a link in the form [/repos] there and it resolves to: http://fossil.wanderinghorse.net/repos/JSONMessage/index.cgi/repos Sure... but if you just write the link in HTML (which fossil wiki allows and allows to be mixed with wiki) instead of

Re: [fossil-users] can this be done in fossil: hyperlinking to subdir of fossil repo

2010-04-07 Thread Stephan Beal
On Wed, Apr 7, 2010 at 12:37 PM, Stephan Beal sgb...@googlemail.com wrote: Yup. See: http://fossil.wanderinghorse.net/repos/JSONMessage/index.cgi/wiki?name=Sandbox i've put a link in the form [/repos] there and it resolves to:

Re: [fossil-users] can this be done in fossil: hyperlinking to subdir of fossil repo

2010-04-07 Thread Stephan Beal
On Wed, Apr 7, 2010 at 1:10 PM, Joshua Paine jos...@letterblock.com wrote: On 04/07/2010 06:55 AM, Stephan Beal wrote: A link in the form a href='/repos'.../a resolves (incorrectly) to: http://fossil.wanderinghorse.net/repos/JSONMessage/index.cgi/%27/repos%27 In HTML, attributes may

Re: [fossil-users] can this be done in fossil: hyperlinking to subdir of fossil repo

2010-04-06 Thread verizon
Hi, From advice I got previously here is how I can access a PDF that is in the repository with a relative link (works both locally and in a server) [http:doc/tip/Ethernet/DOCS/npincomplete.pdf | Code Description (pdf) ] Your link should work similarly. The file is in

Re: [fossil-users] can this be done in fossil: hyperlinking to subdir of fossil repo

2010-04-06 Thread Stephan Beal
On Tue, Apr 6, 2010 at 9:10 PM, verizon vze35...@verizon.net wrote: From advice I got previously here is how I can access a PDF that is in the repository with a relative link (works both locally and in a server) [http:doc/tip/Ethernet/DOCS/npincomplete.pdf | Code Description (pdf) ] That

Re: [fossil-users] can this be done in fossil: hyperlinking to subdir of fossil repo

2010-04-06 Thread Rene de Zwart
Op Di, 6 april, 2010 23:03, schreef Stephan Beal: On Tue, Apr 6, 2010 at 9:10 PM, verizon vze35...@verizon.net wrote: From advice I got previously here is how I can access a PDF that is in the repository with a relative link (works both locally and in a server)

Re: [fossil-users] can this be done in fossil: hyperlinking to subdir of fossil repo

2010-04-06 Thread Stephan Beal
On Tue, Apr 6, 2010 at 11:36 PM, Rene de Zwart renew...@xs4all.nl wrote: Its is a bit odd to run 2 http servers (well maybe not that odd) Fossil's running on my remote box as a CGI. On my local box apache serves 5 or 6 sites and fossil (on 8080) runs in ui mode quite often. use a link or

Re: [fossil-users] can this be done in fossil: hyperlinking to subdir of fossil repo

2010-04-06 Thread Stephan Beal
On Wed, Apr 7, 2010 at 12:06 AM, Joshua Paine jos...@letterblock.comwrote: the PHP correctly. If http://fossil.wanderinghorse.net/demo/demo.php were the right path, and it were working, you'd just write your link like a href=/demo/demo.phpMy Demo/a. THAT i didn't think of: i could move the

Re: [fossil-users] can this be done in fossil: hyperlinking to subdir of fossil repo

2010-04-06 Thread Joshua Paine
On 04/06/2010 06:10 PM, Stephan Beal wrote: THAT i didn't think of: i could move the demo path outside of the CGI's path while still keeping it in the webroot. That would almost solve my problem, except that i still have to (a) hard-code the server name in the Wiki link and You do not have to