fix assets path for /www-root/my-project/....

Hi,
I work on project on http://lab/projects/vpavek/lab/tester/ where DocumentRoot = http://lab/ and I have problem with URL for assets. Run at Apache. Tested on variant .../tester/index.php and .../tester/

But I still have problem with run on PHP Built-in server in DocumentRoot. On http://localhost:8080/index.php works fine but on http://localhost:8080 not work. I dont know how to fix this problem.