Package: ikiwiki
Version: 3.20120202
Severity: wishlist

Dear Joey,

Thank you for making fantastic and unique wiki like no other.

It would be nice if cgi wrapper would use relative URLs instead of ones with 
hardcoded domain name and support hostname-less configuration.

When I enter 'url' or 'cgiurl' in configuration without 'http://' prefix as 

 url    => '~/iki',
 cgiurl => '~/iki/ikiwiki.cgi'

and run 'ikiwiki --setup' I get 

"Use of uninitialized value in string ne at /usr/share/perl5/IkiWiki.pm line 
570." 

which is not a problem by itself. But I'm trying to use a peculiar 
configuration when rsync plugin send blog content to extranet site where 
reverse proxy tunnel channelling requests to ~/iki/ikiwiki.cgi back to 
intranet.

And that's where problems are manifesting: if page generated by ikiwiki.cgi 
(like login page) is accessed from extranet it looks distorted due to all 
resources like .CSS files are linked using absolute URLs with domain name as 
configured in (cgi)url or using domain name of intranet server is it 
identifies itself if no domain explicitly mentioned in (cgi)url configuration.

Basically because of hardcoded domain names in links ikwiki can't work well 
from behind reverse proxy because intranet domain (configured or fallback one)  
may not be available from outside. 

Moreover in such configuration it is preferable not to disclose intranet 
domain names.

Hardcoding domain names in links seems unnecessary because relative linking is 
more than enough for addressing internal pages.

Thank you.

All the best,
Dmitry.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to