Thursday, October 23, 2014

this article is about ajax and and using proxy server with apache httpd

I wanted to try get ajax data from other site..
and Chorme and WebBrowser told me that cross domain security so I can't access
this url...
there is good solution when you develope different site and test it

changed apache conf.htttp ~!!!

LoadModule proxy_module modules/
LoadModule proxy_http_module modules/

ProxyRequests Off
<Proxy *>
            Order deny,allow
                Allow from all
                SetEnv force-proxy-request-1.0 1
                SetEnv proxy-nokeepalive 1
                SetEnv proxy-initial-not-pooled 1


ProxyPass /neo
ProxyPassReverse /neo

No comments:

Post a Comment