Jean-Baptiste Yunès
2011-Mar-20 14:38 UTC
[webgen-users] Fwd: links to external but same server resources
> Hi, > > Again, I am unable to handle a simple task. I want to integrate my new webgen website into an existing website. I also want to refer from the webgen site some ressources that reside in the existing old website. How must do I ? Of course, I don''t want to use absolute http://.../ links, but some relative naming such as > [MYOLDDIR](/mydir) > As /mydir doesn''t exists in the sources of my new website, webgen complains and sets a "empty" link. > > Best regards, JB-- M. Jean-Baptiste Yun?s http://www.liafa.jussieu.fr/~yunes/
Thomas Leitner
2011-Mar-21 14:57 UTC
[webgen-users] Fwd: links to external but same server resources
On 2011-03-20 15:38 +0100 Jean-Baptiste Yun?s wrote:> > Again, I am unable to handle a simple task. I want to integrate my > > new webgen website into an existing website. I also want to refer > > from the webgen site some ressources that reside in the existing > > old website. How must do I ? Of course, I don''t want to use > > absolute http://.../ links, but some relative naming such as > > [MYOLDDIR](/mydir) As /mydir doesn''t exists in the sources of my > > new website, webgen complains and sets a "empty" link.Have a look at the documentation of the "virtual" source handler (http://webgen.rubyforge.org/documentation/sourcehandler/virtual.html) -- Thomas