Re: [TYPO3-english] RealURL query

2009-09-15 Thread Dan Osipov
Christopher Torgalson wrote: > > By the way--just to be pedantic--"/foo/bar/foobar.html" is an ABSOLUTE > url while "foo/bar/foobar.html" is a RELATIVE url :) > Correct. This leads me to believe this is indeed an issue with Firefox, and I would be surprised if I'm the only one experiencing it

Re: [TYPO3-english] RealURL query

2009-09-15 Thread Christopher Torgalson
Hi, On Tue, Sep 15, 2009 at 9:02 AM, Dan Osipov wrote: > config.absRefPrefix works. > > I think this is an issue in general, as FF interprets base href > differently from IE. A workaround I found is to add a slash to the > beggining of the URL to make it relative, as in: > >   >      http://local

Re: [TYPO3-english] RealURL query

2009-09-15 Thread Dan Osipov
config.absRefPrefix works. I think this is an issue in general, as FF interprets base href differently from IE. A workaround I found is to add a slash to the beggining of the URL to make it relative, as in: http://localhost/pb/"; /> What do you think? Dan Osipov Calkins Med

Re: [TYPO3-english] RealURL query

2009-09-11 Thread Dmitry Dulepov
Hi! Dan Osipov wrote: > On my local installation (I was able to replicate locally and on the > live server): > > config.baseURL = http://localhost/pb/ > > This generates the following source: > > http://localhost/pb/"; /> > href="typo3temp/stylesheet_23e3aa99e0.css" /> > It means tha

Re: [TYPO3-english] RealURL query

2009-09-11 Thread Dan Osipov
On my local installation (I was able to replicate locally and on the live server): config.baseURL = http://localhost/pb/ This generates the following source: http://localhost/pb/"; /> Dan Osipov Calkins Media http://danosipov.com/blog/ Dmitry Dulepov wrote: > Hi! > > Dan Os

Re: [TYPO3-english] RealURL query

2009-09-11 Thread Dmitry Dulepov
Hi! Dan Osipov wrote: > This happens after the page is already loaded, and its including other > items from the head. Base URL is not being applied to these, so the URL > requested is sent to RealURL, like this: > "/pb/news/news_details/article/28/2009/january/28/typo3temp/javascript_93077bb238.js

Re: [TYPO3-english] RealURL query

2009-09-11 Thread Dan Osipov
Further debugging shows that this doesn't happen in IE, only Firefox (I'm running 3.5.3)... Dan Osipov Calkins Media http://danosipov.com/blog/ Dan Osipov wrote: > Thanks! > > I've spent some time debugging the issue, and narrowed it down. > > This happens after the page is already loaded, and

Re: [TYPO3-english] RealURL query

2009-09-11 Thread Dan Osipov
Thanks! I've spent some time debugging the issue, and narrowed it down. This happens after the page is already loaded, and its including other items from the head. Base URL is not being applied to these, so the URL requested is sent to RealURL, like this: "/pb/news/news_details/article/28/2009/

Re: [TYPO3-english] RealURL query

2009-09-10 Thread Dmitry Dulepov
Hi! Dan Osipov wrote: > Yes, the query is definitely coming from that part of configuration... > > Here is my .htaccess config. Anything wrong? Looks ok. One thing I would do is to check if it works. I would enable rewrite log and see how the URL is rewritten when this query happens. Another op

Re: [TYPO3-english] RealURL query

2009-09-10 Thread Dan Osipov
Thanks, Yes, the query is definitely coming from that part of configuration... Here is my .htaccess config. Anything wrong? RewriteEngine On RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FIL

Re: [TYPO3-english] RealURL query

2009-09-09 Thread Dmitry Dulepov
Hi! Dan Osipov wrote: > When checking processlist, I often see queries like this: > SELECT uid FROM tt_news WHERE title='fileadmin' AND deleted=0 AND hidden=0 > SELECT uid FROM tt_news WHERE title='typo3' AND deleted=0 AND hidden=0 > SELECT uid FROM tt_news WHERE title='typo3temp' AND deleted=0 AN

[TYPO3-english] RealURL query

2009-09-09 Thread Dan Osipov
When checking processlist, I often see queries like this: SELECT uid FROM tt_news WHERE title='fileadmin' AND deleted=0 AND hidden=0 SELECT uid FROM tt_news WHERE title='typo3' AND deleted=0 AND hidden=0 SELECT uid FROM tt_news WHERE title='typo3temp' AND deleted=0 AND hidden=0 SELECT uid FROM tt_n