From: Carsten K. <car...@ma...> - 2002-01-16 02:36:55
|
There is a problem with base hrefs when virtual_path and data_path are different. As a quick fix I set the links to use a full url, it's probably not too difficult to fix but I just haven't made the time to look at it yet. For example look at the paths on the alpha server: data_path: http://phpwiki.sourceforge.net/alpha http://phpwiki.sourceforge.net/alpha/phpwiki.css etc. http://phpwiki.sourceforge.net/alpha/images/ http://phpwiki.sourceforge.net/alpha/theme/ virtual_path: http://phpwiki.sourceforge.net/alpha/en/ http://phpwiki.sourceforge.net/alpha/de/ http://phpwiki.sourceforge.net/alpha/macosx/ On Tuesday, January 15, 2002, at 08:49 pm, Jeff Dairiki wrote: > On 15 Jan 2002 17:10:05 -0800 > "Adam Shand" <ad...@pe...> wrote: > >> is there any reason that phpwiki shouldn't use relative links for >> everything? it saves a lot of trouble with things like this. > > It's a little problematic when (USE_PATH_INFO is on and) page names > contain '/'. But the asnwer is "no" there's no reason not to (at least > most of the time). We used to use relative URLs. (The PhpWiki wiki uses > relative URLs.) I'm not sure why we don't anymore. (??). > |