strano a dirsi, ma ho risolto...

mi è bastato mettere un tag <base> nell'head del file e si è tutto risolto.... mah...
grazie comunque