tags:

views:

14

answers:

2

I have SSL enabled for subdomain.mydomain.com so I can access files via https://subdomain.mydomain.com. Now please tell me if I'm right.. if I have file somwhere in subdomain.mydomain.com called index.php I can securely access it via:

https://subdomain.mydomain.com/someFolder/index.php

but I can also access it via

http://subdomain.mydomain.com/someFolder/index.php

This time communication won't be encrypted though. So now it comes down to links only if I access files in subdomain.mydomain.com securely or not?

I will have another related question (and many more probably), but will post it as separate topic to keep things clean :)

A: 

Yes, using https: or http: in your URLs controls whether the access is secure or not.

Remy Lebeau - TeamB
A: 

That's usually how it works, but it depends on your specific webserver's setup. For example, you can configure a web server to disallow non-HTTPS traffic completely or you can even serve totally different content between HTTP and HTTPS.

Dean Harding