Re: Is [thisurl] http or https?
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20018
interpreted = N
texte = >>>I cannot think of any direct method of determining whether or not the url>>>used to request a page is an http or https url:>>>>Neither can I. Authorization has to do only with your current>>username/password, not https.>>Thanks, at least that clarifies it for me.>>Using WebCatalog with WebSTAR, it seems there's no way to absolutely >secure a page and prevent non-SSL access when both SSL and non-SSL servers >use the same folder hierarchy -- unless I use Realms -- and I would prefer >not to.>>Does anyone have any other ideas?>>Sincerely,>Ken Grome>808-737-6499>WebDNA Solutions>mailto:ken@webdna.net>http://www.webdna.net>>>You could use virtual hosting (assuming Webstar 3.0, not sure how WebTen handles this). Since Webstar 3.0 SSL is incapable of virtual hosting, it will go to the root folder and follow the path from there. It won't start at the folder root virtual host folder.non ssl path would be likehttp://www.virtualdomain.com/store/page.tplssl path would be (for same file in same folder)https://www.virtualdomain.com/virtualroot/store/page.tplIt isn't elegant, but it will give a bad URL message instead of serving the page if try to serve via non-SSL.Sandy
Associated Messages, from the most recent to the oldest:
>>>I cannot think of any direct method of determining whether or not the url>>>used to request a page is an http or https url:>>>>Neither can I. Authorization has to do only with your current>>username/password, not https.>>Thanks, at least that clarifies it for me.>>Using WebCatalog with WebSTAR, it seems there's no way to absolutely >secure a page and prevent non-SSL access when both SSL and non-SSL servers >use the same folder hierarchy -- unless I use Realms -- and I would prefer >not to.>>Does anyone have any other ideas?>>Sincerely,>Ken Grome>808-737-6499>WebDNA Solutions>mailto:ken@webdna.net>http://www.webdna.net>>>You could use virtual hosting (assuming Webstar 3.0, not sure how WebTen handles this). Since Webstar 3.0 SSL is incapable of virtual hosting, it will go to the root folder and follow the path from there. It won't start at the folder root virtual host folder.non ssl path would be likehttp://www.virtualdomain.com/store/page.tplssl path would be (for same file in same folder)https://www.virtualdomain.com/virtualroot/store/page.tplIt isn't elegant, but it will give a bad URL message instead of serving the page if try to serve via non-SSL.Sandy
Sandra L. Pitner
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
searchable list archive (1997)
why is this line in GeneralStore? (1998)
ShipTo Countries (2006)
Freeze (2003)
WebCat2 - [include] tags (1997)
Help name our technology! (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
ARGH! (2004)
bug in [SendMail] (1997)
[OT] Help Webcat 213 win (2000)
Shopping carts and reloading pages (1997)
Credit Card not accepted (1998)
Check boxes (1997)
BUG REPORT -- Refusing connections! (1999)
Loop code problem (2000)
Slightly OT web* and Web Cat crashes (2000)
Projects & Contractors (1997)
flash-wc (2000)
[protect] on NT? (1997)
Summing fields (1997)