I try to get something with htaccess, but I can't get it to work.

There is a domain, lets say domain.tld (nice hey ).

There are files like http://domain.tld/file.php and http://domain.tld/images/adir/image.png
But this files will all be requested via http://domain.tld/somedir/file.php and http://domain.tld/somedir/images/adir/image.png
Where somedir can be all kind of dirs (so a wildcard is needed I guess).
But as you can see, some dirs must excluded like images, so all dirs execpt a few...
And forwarding isn't a sollution, the dir. must be used..

I can't find how I get this work, does anyone have an idea

(Sorry if my english sucks )