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

Can I pass https:// credentials in a URL string?

scubak1w1
P: 53
Hello,

Can I pass https:// credentials in a URL string? I am not familar with this side of setting up servers, URL strings, etc...

Yep, seems counterintuitive - but it is server-server...

You can kind of ignore these details if you are not familar with this - I am using TileCache, part of OpenLayers, and want to get some data off a WMS Server that I have set up using MapServer, locally...

The TileCache configuration lines would be like this

[site_boundaries]
type=WMSLayer
layers=site_boundaries
url=https://192.168.0.15/cgi-bin/mapserv.exe?map=c:/Inetpub/wwwroot/MapServer/WMS/strathmore_wms.map&service=WMS&transparent=true?
extension=png
debug=off
metaTile=true

Running this I see a HTTP Error 401: Access Denied when I troubleshoot...


My question is, can I build a URL something like below? What is the syntax?

url=https://192.168.0.15/cgi-bin/mapserv.exe?map=c:/Inetpub/wwwroot/MapServer/WMS/strathmore_wms.map&service=WMS&UID=user&PWID=passw ord&transparent=true?

Thanks in advance! Cheers!
GREG...
Jun 9 '08 #1
Share this Question
Share on Google+
1 Reply


harshmaul
Expert 100+
P: 490
Depending on the server side language you use you can pass details like that. however that question is more suited to the serverside forums. so which ever serverside language you use you should ask there!

but to get you started

php
Expand|Select|Wrap|Line Numbers
  1. $_GET["qsName"]
csharp
Expand|Select|Wrap|Line Numbers
  1. request.QueryString["qsName"]
Jun 17 '08 #2

Post your reply

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