[TYPO3] relative path mistaken

Arpad Muranyi pesz at pesz.hu
Tue Jul 15 23:30:34 CEST 2008


Hi,

>> i have a TYPO3 installation which is not the the root, so i can reach it
>> like www.mydomain.com/dev
>>
>> TYPO3 itself works fine, but i have problem by applying eg. relative
>> paths in TS, such as /fileadmin/etc.jpg and it looks for a file here:
>> www.mydomain.com/filedamin/etc.jpg instead of
>> www.mydomain.com/dev/fileadmin/etc.jpg
>>
>> what shall i setup to achieve good results?
>
> config.baseURL = http://www.mydomain.com/dev/
>
> http:// and ending slash are important.

strange. i have already applied it this way but when i try modifying 
header image in TS setup, this way:

page.CSS_inlineStyle (
	div #header { background-image: 
url('/fileadmin/template/main/img/header_eng.png'); }
)

it does not work at all. the original image disappears, but replaced 
with nothing. tried also without ' without success.

arpad




More information about the TYPO3-english mailing list