WebPagetest Forums
Apache subfolder settings - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Apache subfolder settings (/showthread.php?tid=12579)



Apache subfolder settings - kaaresylow - 10-02-2013 09:57 PM

Hi,

I'm trying to run web page test "host" from a subfolder on my apache server. The root is c:/www and I have placed all the files in c:/www/wpt. It looks correct if I access the site on http://127.0.0.1/wpt, but if I click on a link I get a 404 error. It seems that the link is pointing to the root folder and not into the subfolder where the file is located.
Guess I have to change something in the apache settings, but I can't figure out what it is.
Do you guys know how I can make it work?

Thanks


RE: Apache subfolder settings - pmeenan - 10-02-2013 11:08 PM

You need to change the document root in the apache http config file to point to c:/www/wpt (or put all of the wpt files in c:\www directly). WebPagetest expects to be at the root of the path right now (something I've been meaning to fix for a long time but there are absolute urls sprinkled through the code).