Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

httpdocs and httpsdocs folders

Tags:

hosting

In the default directory of my hosting server I can see 2 folders among others:

httpdocs

and

httpsdocs

Is this a common directory structure ? If I add stuff to httpsdocs it is automatically protected by SSL ?

thanks

like image 538
aneuryzm Avatar asked Aug 09 '10 06:08

aneuryzm


1 Answers

I think some PHP control panel utilities use this directory structure, Plesk is the one that I have seen use this. The framework automatically routes all https:// requests to files located in the httpsdocs directory and all http:// requests to the httpdocs directory.

So with one of these frameworks you can be assured that any pages loaded from httpsdocs will have come through an https:// request and will be SSL encrypted.

like image 61
jaywon Avatar answered Oct 13 '22 23:10

jaywon