By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,299 Members | 1,210 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,299 IT Pros & Developers. It's quick & easy.

Permission denied?

P: 55
Hi,
I have a form validation through Ajax, in this page i am calling a CGI page for getting the results.
Its working fine in the environment where i have CGI folder but while i am calling in other environment i am getting the error as "PERMISSION DENIED at line number"
ie.Where i am calling the cgi page through ajax request.

I have set full permission(777) for the CGI page and as well as the html pages i am using for.
Still i am not getting the results and its again displaying "permission denied"
Can anyone suggest me the possible solution?

I am calling my cgi page like this in the ahax request "http://10.0.0.2/cgi-bin/barani1/testinpost.cgi".

Thanks in advance.

Barani.
Nov 28 '07 #1
Share this Question
Share on Google+
2 Replies


gits
Expert Mod 5K+
P: 5,390
hi ...

you cannot make a cross-domain-ajax-call so check whether you have the cgi-script on the same domain and use the same url as you page has ...

kind regards
Nov 28 '07 #2

P: 55
hi ...

you cannot make a cross-domain-ajax-call so check whether you have the cgi-script on the same domain and use the same url as you page has ...

kind regards
Hi gits,
Thanks for your reply.
I am using the request in the same domain.Like i mentioned earlier,my domain name is 10.0.0.2 (local), in which i am having different users.

Through root user i have given the permission for cgi folders.

If i am login via admin i am getting the results but if i am tryin to get the results through other user say "test".I am getting the result as permission denied?

Som kindly suggest me the possible solution for this quetion?

Thanks,
Barani
Nov 28 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.