I created a proxy aspx page following this guide: http://www.sharepointjohn.com/sharepoint-2010-cross-domain-proxy-page-for-client-side-scripts/
I deployed the solution to the farm using the two Powershell commands provided in the tutorial. When I use the proxy via javascript ajax on a page it only works when I'm logged into sharepoint. When I'm not logged in and hit the page I get a 302 (Moved Temporarily) and it tries to redirect the ajax request to the sharepoint loggin page for my site. It's as if the proxy page in the solution hasn't been published yet. Why is this? How do I publish the page?