# proxy help?

**URL:** <https://community.cesium.com/t/proxy-help/1888>\
**Category:** CesiumJS\
**Created:** [January 21, 2015, 5:28pm UTC](https://community.cesium.com/t/proxy-help/1888 "2015-01-21T17:28:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Whalley](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_whalley/32/2115_2.png) [@Matt\_Whalley](https://community.cesium.com/u/Matt_Whalley)\
**Post date:** [January 21, 2015, 5:28pm UTC](https://community.cesium.com/t/proxy-help/1888/1 "2015-01-21T17:28:35Z")

</div>

I’m new to proxies and looking for help.

In my apache2 httpd.conf file I added the following:

ProxyPass /foo/ [http://dev.virtualearth.net/](http://dev.virtualearth.net/)

ProxyPassReverse /foo/ [http://dev.virtualearth.net/](http://dev.virtualearth.net/)

In my Cesium viewer initialization I added the proxy:

imageryProvider : new Cesium.BingMapsImageryProvider({ url : ‘[//dev.virtualearth.net](https://dev.virtualearth.net)’,

key : ‘-- my key --’,

proxy: new Cesium.DefaultProxy(’/foo/’) })

This returns a browser error that indicates that instead of tile imagery it is trying to load a default page one gets at [http://dev.virtualearth.net](http://dev.virtualearth.net) which sends you to [https://msdn.microsoft.com/en-us/library/dd877180.aspx](https://msdn.microsoft.com/en-us/library/dd877180.aspx)

Any ideas here?
