changed result-storage-path?
|
12-16-2011, 03:51 AM
(This post was last modified: 12-16-2011 04:03 AM by nilskuhn.)
Post: #1
|
|||
|
|||
changed result-storage-path?
Hi,
I've installed WPT Server 2.5 and want to use it with WPT Monitor, version 0.3 (latest stable). My scripted monitor-tests are triggered correctly to the wpt-server as jobs and the agent gets it, runs the test and writes back the results. As far everything's fine. But on results-page of the monitor the status of the result remains "pending". If I click on the link to the result I get a 404. I noticed that the results of tests started directly from web-gui of wpt-server are saved differently in the filesystem than the results of the monitor-jobs: wpt-server-triggered: e.g. /results/11/12/15/XK/11/ -> http://myWPTServer.de/results.php?test=111215_XK_11 wpt-monitor-triggered: e.g. /results/11/12/15/W6/4d53627c973bcf6ecf6b9bc7e19b6879/ -> http://myWPTServer.de/result/111215_W6_4...c7e19b6879 Can't the wpt-server handle the long foldernames anymore? Thanks in advance and regards, Nils Sorry, it's not the long foldername but the different method of invoking the results. Can't the wpt-server show the results by the url without results.php anymore? |
|||
12-16-2011, 04:03 AM
Post: #2
|
|||
|
|||
RE: changed result-storage-path?
Looks like you don't have mod_rewrite enabled. WebPagetest recently added support for running without it but WPTMonitor is expecting the "friendly" version of the URLs. Shouldn't have anything to do with the length of the folder name, it's the URL structure itself.
|
|||
12-16-2011, 05:38 AM
Post: #3
|
|||
|
|||
RE: changed result-storage-path?
mod_rewrite is enabled.
So what else could be the problem? Any ideas? |
|||
12-16-2011, 06:07 AM
Post: #4
|
|||
|
|||
RE: changed result-storage-path?
It can't be working correctly, otherwise WebPagetest would have used http://myWPTServer.de/result/111215_XK_11/ instead of http://myWPTServer.de/results.php?test=111215_XK_11
Are .htaccess overrides enabled (AllowOverride)? |
|||
12-16-2011, 06:56 AM
Post: #5
|
|||
|
|||
RE: changed result-storage-path?
Yes,
Code: Options Indexes FollowSymlinks is set in the Directory-sections of my vhost-confs (in /etc/apache2/vhosts.d/), in the Directory-section of htdocs in /etc/apache2/default-server.conf and in the Directory-section "/" of httpd.conf (the two latter don't matter I think...). And I made the folowing test and mod_rewrite seems to be enabled: http://www.wallpaperama.com/forums/how-t...d-t40.html My wpt-server and -monitor are on the same machine (Linux-VM) in a LAN together with the agents. A firewall is built around it. Could the firewall oppress url-rewriting on a machine behind it? |
|||
12-16-2011, 07:01 AM
Post: #6
|
|||
|
|||
RE: changed result-storage-path?
The firewall shouldn't cause any issues, all of the rewriting happens on the server itself. That is pretty bizarre. Is the WebPagetest .htaccess file in WPT's root directory?
The access and error logs might have some information about the rewrite failures. |
|||
12-16-2011, 07:20 AM
Post: #7
|
|||
|
|||
RE: changed result-storage-path?
Thanks a lot!
The .htaccess-file was missing. A workmate copied the wpt-server to the machine and obviously forgot hidden files. |
|||
12-16-2011, 07:22 AM
Post: #8
|
|||
|
|||
RE: changed result-storage-path?
lol. cool. That would certainly do it.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)