I deployed my flex applicaiton on Apache 2.2/www/html. Apache is running on ubuntu. My flex applicaiton access cgi scripts by using httpservice. all the urls of my cgi scripts are placed in a params.conf file(which is normal text file contains all the urls in a key/value pair), the urls in the params.conf has relative paths. Cgi-scripts are deployed at Apache 2.2/www/cgi-bin folder. where as my flex application is Apache2.2/www/html.
when I access the cgi-scripts from the flex builder(I mean when I run my flex application through flex builder 3.0) I am not getting any error. where as if I deploy my flex application in Apache 2.2/www/html it is giving me an error as follows;
[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]
NOTE:- Even I placed crossdomain .xml file in my root of the server(i.e Apache 2.2/www/html). Here is my croosdomain.xml file
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<allow-access-from domain="*" />
If I use absolute paths in my params.conf file then I am not getting any errors. But if I access my application out side then I can't access it. - that's true. That's why I used relative path. An example of my relative path used by my flex application(HTTPSERVICE) is "cgi-bin/showuserdetails.cgi?name=abc:xyz". if the colon(:) is not there in between abc and xyz then it is working fine.
so please help me out.