Suppose 'home' and 'away' are the host names of two machines on an
intranet which has ad.min.com as its domain name and also suppose that
there is a Fossil repository and server installed and running on
home.ad.min.com <http://home.ad.min.com/>  on port 8080.  A browser
running on away can access the wiki at http://home.ad.min.com:8080/home,
assuming default Fossil configurations.

 

Using wiki markup, the home machine refers to another wiki page on the
home repository by specifying, for example,

 

     [otherPage]

 

The html source viewed by the home site is

 

     <a href-"http://localhost:8080/wiki?name=otherPage";>otherPage</a>

 

but viewed from the away machine's browser the source is 

 

     <a
href-"http://home.ad.min.com:8080/wiki?name=otherPage";>otherPage</a>

 

which is of course what you want.  The home machine can also refer to a
page of embedded documentation using markup like

 

 
[http://localhost:8080/doc/tip/docDir/embeddedDocFile.wiki|otherEmbedded
Page]

 

and this is fine if you are at home, but if you are away the html source
viewed there is 

 

     <a
href-http://localhost:8080/doc/tip/docDir/embeddedDocFile.wiki>otherPage
</a>

 

but this is decidedly not fine.  Replacing the text 'localhost:8080' in
the home markup by 'home.ad.min.com:8080' works as long as the
repository stays at home, but this breaks as soon as the home repository
is cloned.

 

Is there a reasonable solution to this and is it expressible in the wiki
markup language?

 

 

 

 

Paul Higham

Senior Software Engineer

Cardiac Rhythm Management Division

 

St. Jude Medical

709 East Evelyn Avenue

Sunnyvale, CA 95086 USA

Tel +1 408 522 6225

phig...@sjm.com

 

This communication, including any attachments, may contain information that is 
proprietary, privileged, confidential or legally exempt from disclosure.  If 
you are not a named addressee, you are hereby notified that you are not 
authorized to read, print, retain a copy of or disseminate any portion of this 
communication without the consent of the sender and that doing so may be 
unlawful.  If you have received this communication in error, please immediately 
notify the sender via return e-mail and delete it from your system.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to