Hello,

I've got a secure WMS (apache, basic authentication) and I want to
include the credentials in the http-header. How could I do this? Or is
there another way to send the credentials to the server via OL?

I tried with OpenLayers.Request, but it only works for one domain and
I have to do a cross-site request.

My index.html is at localhost.
This is the WMS-Layer:
wms_auth = new OpenLayers.Layer.WMS( "WMS Auth" ,
"http://wms-server/...";, {layers: 'tk', format: 'image/jpeg',
srs:'EPSG:31468', version:'1.1.1'});

Hope, you can help me.

Bye
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to