Re: help regarding HTTPS and HTTP



hpatel@xxxxxxxxxxx wrote:
[...] Thomas 'PointedEars' Lahn [...] wrote:
hpa...@xxxxxxxxxxx wrote:
On Nov 13, 4:18 pm, Thomas 'PointedEars' Lahn <PointedE...@xxxxxx>
wrote:
hpa...@xxxxxxxxxxx wrote:
[...]
I need a solution that can help me tochangeprotocolback toHTTPif
the user doesn't submit login form. I have written small piece of
java script that can check at the time of leaving the page. If submit
button wasn't pressed, it shouldchangetheprotocolback toHTTP. I
have played around window.location object trying tochangeit's href
property.
[snipped nonsensical script code]
Please let me know if you know about some simple solution.
[...]
You could rewrite the URLs server-side as well:
http://httpd.apache.org/docs/2.2/misc/rewriteguide.html
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[...]
Thanks for the reply. But, I don't want to use absolute paths. I just
want to catch the URL of clicked Link. And, then, I can justchange
"https://domain.com/path1"; to "http://domain.com/path"; if I am able to
get the URL of the clicked link.
If you had quoted properly, i.e. only the lines you were actually
referring to, you would have spotted the solution within.

http://www.jibbering.com/faq/faq_notes/clj_posts.html
[signature]

Oh...! Sorry!!

I'd rather you quoted properly this time as explained in the FAQ Notes.

You also should get a decent newsreader which does not have Google Groups'
fault to remove whitespace in quotes seemingly in a random manner.

I am still not clear about the solution. Can u pls specifically
mention it?

URL Rewrite with Redirect:

http://httpd.apache.org/docs/2.2/misc/rewriteguide.html


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7@xxxxxxxxxxxxxxxx>
.


Loading