在LAMP上创建的目录在WAMP中不起作用

I have created a website in a LAMP using Apache MySQL and PHPmyAdmin, I have migrated this website and is db to a similar configuration but and Windows. And my directory are all mucked up. from index I am able to access any file in root location but if it is in a folder I have to had a ../../htmlwhere I previously had ../I have a lot of folder and a lot of header(Location: ../whatever) using them. How can I fix the directory ?

This is my root in var/www/ : root folderAnd this is inside the html folder (var/www/html) : html folder