[TYPO3] Easy question for someone who knows...

Marek Uhel uhel at gmx.de
Mon Apr 16 23:49:10 CEST 2007


Hello Guys,

I'm running the very basic typo3 installation with standard url rewriting:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* /index.php [L]

When I access the "www.server.com/wrongSite.htm" I'll get index.php(htm) 
instead and that's correct.

However, if I access the "www.server.com/XY/wrongSite.htm" I'll get 
damaged main site, since all the images on the website are referencing 
to XY folder, instead of the main site root.

Means, the url-rewriting was correct(I see the /index.htm site), 
however, a reference to /uploads/pic.png from the site becomes to 
XY/uploads/pic.png.

What am I missing? Thank you in advance.



More information about the TYPO3-english mailing list