httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] Apache and ajax
Date Thu, 19 Apr 2007 18:39:01 GMT
Richard Dunne wrote:
> I was using localhost:8080 on jakarta tomcat to view php webpages and 
> execute an xmlhttprequest, but I found that this version on tomcat was 
> not compatible with php scripts.  So I installed apache 2.0 instead.  
> Now when I try to execute the same request, I am getting this
> unspecified error: code 0:
> the specified line is
> http.setRequestHeader("text"); 
> http.send(null);
> Does anyone have an idea why this is causing an error?

Is that from the Javascript? If so, which library are you using?

Try installing and familiarising yourself with these plugins for 
Firefox: Firebug, Chris Pedericks 'Web Developer Toolbar' and 
LiveHttpHeaders.  Using these you can examine the request, response and 
the javascript as it runs.

Having said all this, it's more likely that either PHP isn't installed 
properly, or your PHP script or Javascript isn't working as expected.


> Richard.
> ------------------------------------------------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check out new cars at Yahoo! Autos. 
> <*;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM->


View raw message