Normal domain pass value works but subdirectory doesnt