
07-10-2007, 07:55 PM
|
|
Disabled
|
|
Join Date: Dec 2006
Posts: 4
|
|
Load different folder with http and https
RewriteEngine On
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^(.*)$ https://www.garantiesprivilege.com/httpsdocs/$1 [L,R]
RewriteEngine On
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ http://www.garantiesprivilege.com/httpdocs/$1 [L,R]
|

08-09-2007, 09:45 AM
|
|
Newbie
|
|
Join Date: Aug 2007
Posts: 13
|
|
Neat Idea. Couldn't you just setup the HTTPS host in Apache to point to one directory and the non HTTP host to point to another. Seems cleaner.
|

02-24-2010, 02:13 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Feb 2010
Posts: 42
|
|
I see https on some important sites.And I still don't what's the differences between http and https.Can you guys explain it?
|

02-24-2010, 09:49 PM
|
|
WHT Addict
|
|
Join Date: Mar 2008
Location: England, UK
Posts: 114
|
|
Quote:
Originally Posted by Moviefrontier
I see https on some important sites.And I still don't what's the differences between http and https.Can you guys explain it?
|
Have a read up on this:
http://en.wikipedia.org/wiki/HTTPS
|

02-25-2010, 10:09 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Aug 2009
Posts: 79
|
|
How do I set HTTPS for a specific folder and not for entire website.
|

05-06-2010, 03:34 AM
|
|
New Member
|
|
Join Date: May 2010
Posts: 0
|
|
Good idea. We can use https for more security purpose isn't it?
|

07-31-2010, 03:52 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Jun 2010
Location: Geelong, VIC, Australia
Posts: 61
|
|
Quote:
Originally Posted by Priyankaa
Good idea. We can use https for more security purpose isn't it?
|
Yes, HTTPS will encrypt all data sent between the web server and the client. This is very important wher eyour website deals with private information, and critical where financial transactions are taking place. Without SSL, it is not very difficult for someone 'sniffing' the network to obtain these confidential details.
In terms of setting it up, my reccomendation is either to make the whole website SSL protected, or set up a sub-domain (such as secure.yourdomain.com) where the pages that need protection are situated.
|

08-06-2010, 05:02 AM
|
|
Newbie
|
|
Join Date: Aug 2010
Posts: 9
|
|
should we pay for ussing https or ssl ? or it is free ?
and where is the cheapest compnay who offer this service ?
and can I use ssl from another company with my host which is in another country... ?
|

08-06-2010, 05:45 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Jun 2010
Location: Geelong, VIC, Australia
Posts: 61
|
|
Quote:
Originally Posted by navibd
should we pay for ussing https or ssl ? or it is free ?
and where is the cheapest compnay who offer this service ?
and can I use ssl from another company with my host which is in another country... ?
|
if your website deals with private or confidential information then should defintiley use ssl. there are some SSL certificates that you can get for free - but RapidSSL certificates are very cheap.
you can purchase the ssl through another provider - you will just need to make sure you know how to install it
|

08-22-2010, 06:20 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Dec 2009
Location: London, UK
Posts: 40
|
|
Thanks for this idea 
|

08-23-2010, 01:07 AM
|
|
renegade
|
|
Join Date: Feb 2006
Posts: 1,042
|
|
Quote:
Originally Posted by angathan
How do I set HTTPS for a specific folder and not for entire website.
|
You can't. https is a protocol, and thus completely independent of folder structure.
You can have both http and https on a domain or sub domain, but it will have to be on the WHOLE domain.
If you have a folder structure like /home/domain/ and /home/domain/ssl then set up a sub domain with https for the ssl folder, and then forward all requests from http:// to https://
|

08-23-2010, 02:14 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Jun 2010
Location: Geelong, VIC, Australia
Posts: 61
|
|
Quote:
Originally Posted by coax
You can't. https is a protocol, and thus completely independent of folder structure.
You can have both http and https on a domain or sub domain, but it will have to be on the WHOLE domain.
If you have a folder structure like /home/domain/ and /home/domain/ssl then set up a sub domain with https for the ssl folder, and then forward all requests from http:// to https://
|
I belive you can force the web server to require SSL for particular folders.
|

09-28-2010, 01:14 PM
|
|
Temporarily Suspended
|
|
Join Date: Sep 2010
Location: New Jersey
Posts: 39
|
|
I love rewrite rules. I'm actually getting to learn them a bit more and it's so simple to rewrite to a secure environment. I especially like to use it on my client panels because my clients, along with I, like to have all of our information secure.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|