Re: [Lxr-dev] $baseurl wierdness
Brought to you by:
ajlittoz
From: Jens-Uwe M. <ju...@he...> - 2001-10-18 07:15:44
|
On Thu, Oct 18, 2001 at 08:51:23AM +0900, Malcolm Box wrote: > Jens-Uwe Mager wrote: > > > > I have had some problems getting the style sheet version of lxr going, > > and the problem appears to be the following in html-head.html: > > > > <base href="$baseurl" > > > > > In my case I always get what looks like $thisurl substituted. If I put > > in a fixed URL to my LXR installation it works fine. > > $baseurl comes from the lxr.conf file - does your lxr.conf set up the > right value? Yes, definitely. It looks like this: 'baseurl' => 'http://ans.helios.de/local/dev/lxr', 'virtroot' => '/local/dev/lxr', > Does the rest of your configuration work OK? I've had odd problems when > the $baseurl in the config file didn't match the URL that Apache was > feeding in (FQDN v IP address usually), and that caused all sorts of > strange symptoms. If $baseurl is not set up properly, most stuff should > be failing. If I display the source to source in my browser I get: <!-- <base href="http://ans.helios.de/local/dev/lxr/source/" > --> <base href="http://ans.helios.de/local/dev/lxr/" > <link href="templates/lxr.css" rel="STYLESHEET" type="text/css"> And my template looks like this: <!-- <base href="$baseurl" > --> <base href="http://ans.helios.de/local/dev/lxr/" > <link href="$stylesheet" rel="STYLESHEET" type="text/css"> All the other URL's generated by the perl code look fine. All the fixed URL's by the way spoil any attempts to use lxr via SSL, by the way. I did for some previous version of lxr an ugly hack, but in the current state I have not yet tried to make SSL work again. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX: +49 5131 709325 Internet: ju...@he... |