[PHP] Re: how to deal with http and https directory structures?

2004-02-18 Thread memoimyself
Hello Chris,

On 17 Feb 2004 at 15:39, Chris W. Parker wrote:

 anyone have any thoughts on this? am i making this more complicated
 than it is? ;) 

Well, yes and no. You're trying to organize your files so that each set is only 
accessed 
via one protocol (http or https), which makes pretty good sense from an administrative 
point of view. On the other hand, you're not necessarily *required* to do that: unless 
your web server somehow directs all https traffic to a separate branch of your web 
directory structure, users can access any file on the server via either http or https 
(provided, of course, that your web server is properly configured).

What this means is that you can have a user access a certain page via https by simply 
providing a link containing https://; as the prefix. The down side of this solution 
is that 
users will be free to *not* use https by typing the path to the page directly into the 
browser without the https://; prefix.

Am I making this even more confusing?

:o)

Erik

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Re: how to deal with http and https directory structures?

2004-02-18 Thread Chris W. Parker
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
on Wednesday, February 18, 2004 6:03 AM said:

 What this means is that you can have a user access a certain page via
 https by simply providing a link containing https://; as the prefix.
 The down side of this solution is that users will be free to *not*
 use https by typing the path to the page directly into the browser
 without the https://; prefix. 
 
 Am I making this even more confusing?

maybe to someone that doesn't know what you mean. ;)

as for me, i understand what you are saying and that's something i want
to avoid. so yes i *could* make the root of my https site the same as
the root of my http site, but like you pointed it would allow someone to
use http instead of https. but i'd prefer to pick and choose which pages
are https and which pages are not.



chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php