AW.HTTP.Request keeps asking to authenticate + grid data not updated
I just started testing AW version 2.0 with a cgi script that creates a text file loaded into: table=new AW.CSV.Table then grid.setCellModel(table);
Apache on RH9 is configured as:
Every time http.request() runs it prompts for user authentication. Before the cgi runs and generates the text file, http.request() returns and the code below it makes a table request & the grid is refreshed on the browser with previous data. I used http.onreadystatechange but made no difference. I assume I am missing code to wait for completion.
The code is below. If someone can help it will be greately appreciated. Thanks, Jose
var http=new AW.HTTP.Request;
var _response = table.response;
table.response = function(data)