I recently setup an instance of webpagetest 2.1.1 using Apache on RHEL5 as the webserver and Windows XP for the test machine.
I’ve setup everything as per the webpagetest private instance documentation. When I try to start a test the web server immediately takes me to a results URL that 404’s. The test does get initiated on the test machine so I don’t think the problem is on that end.
Example 404 URL:
http:///result/110305_B3_Q/
A directory structure does get created on the web server at:
//results/11/03/05/B3/Q
So I don’t think it’s a problem with read/write permissions. BTW - the same permissions are set for the tmp, work/jobs, and logs folder as well.
I’m on Apache/2.2.3 (mod_rewrite/headers/expires enabled), PHP 5.2.16, with GD installed and ffmpeg in the path.
Can you check you access log for the offending request? A 404 would usually mean that the mod_rewrite isn’t working properly because even if the test data wasn’t there the php would return a page of some kind (results.php specifically). The test result is probably the first page that has to be rewritten in the flow.
In the apache config for the webpagetest host, is the docroot configured to allowoverride all?
I figured out the problem. It was an error on my part. I copied over the www files over to the web server via samba which did not copy over the .htaccess file since it was a hidden file in Windows. Copying the .htaccess file over fixed it.