Re: [Fwd: Re: Kwiki::Modperl redirects]

[email protected] (Liu Kang-min) Sat, 16 Jul 2005 00:47:59 +0800
Newsgroups perl.kwiki
Message-ID <[email protected]>
On Jul 14, 2005, at 9:45 AM, David Masover wrote:

> Christopher L. Everett wrote:
>
> However, it would be nice if Kwiki had a config option to manually  
> set the base URL -- that is, if Kwiki is found at https:// 
> wiki.example.com, then Kwiki should always generate urls to https:// 
> wiki.example.com/* (set in config.yaml, maybe?), no matter what the  
> browser or Apache thinks it should be.

Always generating absolute URL is nice and will be the most bug-free  
among different browsers.
But Kwiki admin are then required to setup the base url, or the  
script name, because Kwiki root
might be different from ServerRoot. And that would definitely prevent  
the redirection bug.

It should be handled in Kwiki core though, not only in Kwiki::ModPerl  
it self.

Cheers,
Kang-min Liu