[TYPO3] Error generated by Typo3 4.1.6 (CoolURI)

Christopher Torgalson bedlamhotel at gmail.com
Thu May 29 18:55:25 CEST 2008


Hi,

On Thu, May 29, 2008 at 6:28 PM, lesm <nospam at please.com> wrote:
> Dmitry Dulepov [typo3] wrote:
>> Not your fault! :) I guess it is something in browsers. In my case 99%
>> of bad requests had FunWebProducts in user agent string. FunWebProducts
>> is a known ad/spyware. May be it tries to harvest links/images from the
>> page and does not take <base> into account.
>
> I claimed victory too soon!  Grrrrr. Most errors vanished but new ones
> are coming.  Traffic is heavy so it's very difficult to track during
> daylight hours.
> You're right the FunWebProducts string appears in the user agent string
> at the Raw Log.
> Thanks


Well, judging from the log excerpt I have access to, Dmitry's solution
is correct, but could be incomplete, depending on your site. The
rewrite rule from his blog post:

RewriteCond %{REQUEST_URI} ^.+(/(uploads|(typo3(conf|temp)))/.*)

...rewrites any badly formed request containing /uploads/ or
/typo3conf/ or /typo3temp/. In many sites (including all the ones I
deal with), other resources such as js or css files will be found in
/fileadmin/ If your site is like this, the following should work:

RewriteCond %{REQUEST_URI} ^.+(/(fileadmin|uploads|(typo3(conf|temp)))/.*)

Give that a try and see if it works for you--also, look for other
directories besides fileadmin found in the web root that are
incorrectly appended to the ends of urls in the 404 requests.

-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list