[TYPO3] Advanced Banner management and RealURL problem
Christopher
bedlamhotel at gmail.com
Thu Jan 26 16:57:06 CET 2006
On 1/26/06, matt <matt at f13.co.uk> wrote:
> Hi,
>
> I've checked out my config.baseURL paramter... And it exists... And it is correct... Also in the head of every page of site appears
> the base tag e.g.
>
> <base href="http://domain.tld/subdirectory/" />
>
> Anyone got any other ideas?
>
> Thanks
>
> -----Original Message-----
> From: typo3-english-bounces at lists.netfielders.de [mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Christopher
> Sent: 24 January 2006 17:40
> To: TYPO3 English
> Subject: Re: [TYPO3] Advanced Banner management and RealURL problem
>
> Hi,
>
> On 1/24/06, matt <matt at f13.co.uk> wrote:
> > I don't really understand how using the RewriteBase directive is going to help... I tried it anyway and it didn't solve the
> problem.
> >
> > What I can see happening is this....
> >
> > The links that the Banner system are producing are relative links e.g.
> >
> > <a
> > href="products/interesting_page.html?no_cache=1&tx_macinabanners_p
> > i1%5Bbanneruid%5D=1">
> >
> > Hence, if your currently viewing a page at say:
> >
> > URL: http://mydomain.tld/home/products/morestuff.html
> >
> > and click to link above, it will take you to the following page, relative to the current page:
> >
> > URL: http://mydomain.tld/home/products/products/interesting_page.html
> >
> > I don't think the fact that my typo3 install is in a subdirectory has much significance, but I may be wrong of course.
> >
> > If anyone knows what's going on here I would be very thankful to hear.
>
>
Something doesn't add up here. The behaviour you've described is, as
far as I can tell, impossible given the code you've provided:
-- Base element is present and correct: <base href="http://domain.tld/foo/" />
-- Current page: http://domain.tld/foo/bar/lorem.html
-- LInk: <a href="bar/ipsum.html">LInk</a>
Clicking the link above _should_ take you to
http://domain.tld/foo/bar/ipsum.html--mouse over the link; what does
it say in the status bar? The whole _point_ of using the base element
[1] is that it makes relative links _relative to the base url_ (i.e.
and not to the current page!)
Any chance of just creating a page that shows the problem behaviour
for us to look at?
-Christopher
[1] http://www.w3.org/TR/REC-html40/struct/links.html#h-12.4
More information about the TYPO3-english
mailing list