I'm using the following to redirect http to https in my root directory htaccess file <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> But this seems not to work if I access directly sub directories (http://example.com/sub-directory/) unless I place this mod_rewrite in an htaccess file in all my sub drectories. Anyone knows a better way to do this? Just in my root htaccess file?

Member Avatar
Member Avatar
+0 forum 3

Since I totally F'd up entire topic. [Over here](https://www.daniweb.com/programming/software-development/threads/502281/verify-if-data-sent-by-servers-how-do-bigger-companies-do-that), where nobody has ever known what I meant, until I realized that I said a lot of things that didn't make sense at all, nor I could make up any reasonable statements from smart people out there. By suggestion of said discussion's member. Here I start clean topic, where I'll check 50 times, that what I ask, actually makes damn bit of sense. # What is the server about. Me. The First Party # Let's start with me, 1st party (don't know if that's how it works). Anyways, it's stripped down …

Member Avatar
Member Avatar
+0 forum 5

I saw various search engine blogs/journals regarding http to https conversion, where all are saying that it is best to change your website from Http to Https for obtaining better Google rankings. However, is it recommended/accepted by Bing and Yahoo as a ranking factor?

Member Avatar
+0 forum 0

Hello Daniweb Community, Would there be a reason why [Google Chrome](https://www.google.com/chrome) is striking out a bunch of HTTPS websites? Even ones that used to be green but are now red and strike out.

Member Avatar
Member Avatar
+0 forum 6

Is the check: if (!isset($_SERVER['HTTPS']) OR empty($_SERVER['HTTPS'])) { // We are NOT using SSL } a fool-proof way of checking if we are NOT using SSL with PHP/Apache? I understand that IIS sets to 'on/off' but that's irrelevant for me. I am just wondering if I additionally need to check for port 443, etc.

Member Avatar
Member Avatar
+0 forum 7

Just a show of hands, how many people have taken the plunge and migrated to HTTPS since Google's announcement? I was really against it at first, because I just don't like to do things just for SEO's sake, and it seemed to me like this was one of those things. However, after reading more about it, I heard that Chrome and other web browsers are actually going to improve the speed of SSL pages over non-SSL pages, and that SSL prevents man-in-the-middle attacks and proxy servers sniffing and screwing around with our pages. Also read up about how social networking …

Member Avatar
Member Avatar
+1 forum 12

Hello Community, I was just wondering what this url is "https://fbcdn-photos-d-a.akamaihd.net/hphotos-ak-ash3/hellocdn.html?v=1" for some reason on start-up my computer will open this url not all the time but occasionally. It doesn't do anything it just gives my a blank page, the HTTPS certificate is in affect so I don't thing it's a dodgy website (I hope it isn't). I'm running Trend Micro Titanium Maximum Security and that hasn't picked it up as a bad website, I've also scanned the URL using the Trend Micro url scanner and the Norton url scanner and both have said it's an "OK" website. I have …

Member Avatar
Member Avatar
+0 forum 3

I am trying to secure a folder within my site by forcing an HTTPS connection when anything in this folder is run (the folder contains a series of scripts that process registrations, password resets, etc). What's the easiest way to accomplish this?

Member Avatar
Member Avatar
+0 forum 1

A client of mine wants to implement SSL on their site. They have a number of forms which communicate sensitive/personal information, and want to send the data over a secure channel. I've worked with sites that have SSL certificates already, but never actually implemented one myself. The site runs on WordPress, using a custom theme I created. To the questions: 1. Their head of IT says they have a UCC SSL. Is this appropriate for the task? I once purchased an SSL for Magento Go, and I believe it was called an EV SSL, which I imagine is not the …

Member Avatar
Member Avatar
+0 forum 4

hi i have a simple website that includes a WebService and a Webform page. i'm trying to call my web service from the web form using jquery. when i type the web service's url using https, i get "Access denied" error from internet explorer. the call works just fine when i type http... my service code: [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [ScriptService] public class WebService : System.Web.Services.WebService { [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string HelloWorld(int i) { return "Hello World"; } } my client code: $.ajax ({ type: "POST", contentType: "application/json", url: "https://localhost:56497/Cors/WebService.asmx/HelloWorld", data: "{i:4}", dataType: 'json', success: function …

Member Avatar
Member Avatar
+0 forum 2

Hi, all, This may not be the correct place to ask this question, but I can't find another forum that seems to match my question. We have a web site which stores : user's name (which is not validated in any way, so we have lots of Donald Ducks and Mickey Mouses), e-mail address and mobile 'phone number for users. The data are used for sending traffic updates by e-mail and / or SMS. Should we use HTTPS when the users log in to and set their messaging options in the site? We don't use HTTPs at the moment because …

Member Avatar
Member Avatar
+0 forum 4

Hi guys, I need to parse JSON data from an HTTPS protocol so I downloaded and integrated libcurl into my VS2010. Everything works fine and sample codes work fine when I use "http" protocol. However, a CURL error keeps coming out when I try to read from "https" protocol.... The error msg is "Error from cURL: Unsupported protocol" My code is below. This code is from official web site (http://curl.haxx.se/libcurl/c/https.html) What am I missing?? Please help! CURL *curl; curl = curl_easy_init(); if(!curl) { cout << "Unable to initialize cURL interface" << std::endl; return; } string curl_url = "https://www.cia.gov/"; curl_easy_setopt(curl, CURLOPT_URL, …

Member Avatar
Member Avatar
+0 forum 9

How can I get SSL working in Tomcat 6.x under Linux?, ive read the documentation here: [url]http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html[/url] but im not sure how to do it with a certificate I will make myself (its a dev box)

Member Avatar
Member Avatar
+0 forum 2

I have a blog with a domain that I moved to a new host and now it doesn't have SSL certificate installed on it. There are certain links to that domain that where bookmarked using https and now that SSL is not installed on the new server users who access the bookmark pages are sending me feedback that they are having error messages trying to access the website. I want to set up the account so that when those users click on the link in [url]https://www.domain.com/folder/file.php[/url] should redirect the user to the link [url]http://www.domain.com/folder/file.php[/url] instead Can someone kindly explain how …

Member Avatar
Member Avatar
+0 forum 2

Hi all. I'm a JSP newbie and I'm trying to write a small client application that should facilitate the user authentication onto wifi hotspots provided by a telco operator from my country. Basically the application stores the user credentials and when the user push the (only) button on the GUI the application makes the login process by itself without asking the user to open a web browser, be redirected on the captive portal and insert the credentials to enable the internet navigation. I have no idea of the server-side architecture, I just know that the captive portal presents a sitemap.jsp …

Member Avatar
+0 forum 0

Hi all i am new to web service.I am getting this exception on my server which is RHEL 5.5 [B]error Failed to access the WSDL at: [url]https://172.30.17.141:5010/SecureWebService/ActiveCampaignDetailsSecure?wsdl[/url]. It failed with: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. [/B] I have imported the certificate but still getting the same error.while all other server(RHEL 5.2) with same certificate are running ok. I have read wsdl is platform independent and java is also. so what can be issue.Please suggest.Thanks

Member Avatar
Member Avatar
+0 forum 1

hi all, i have developed a web service(https based) client which is running on my 4 servers.i am facing a issue on a server like this. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target while client on all other 3 server is running but that single server is creating problem.i have installed the same certificate to all server. Please suggest what the issue may be.

Member Avatar
+0 forum 0

Hello Everybody, I thought it'd be a great idea to share my code with people who s*ck with the same problem, maybe it'll help... :) It still needs security improovements, but since I'm not a Java guru, I'm a little slow with the solution... :) Any help would be appreciated! :) So, my duty was to develop a business app on Android where the server runs webservices (asmx). We've decided to use ksoap2 library to process the soap part of stuff, since it seemed faster to develop. Well, yea, that's what we've thought... :) Anyways, after lots and lots of …

Member Avatar
Member Avatar
+0 forum 1

Hello All, I am creating a website with password-protected pages in it. I have two type of customer: 1. Free 2. Paid For paid customers, pages would be rendered over HTTPS whereas for free customer, pages will be rendered over HTTP. However, pages for both types of users would be same. Please note, the URL for the two users should be same except HTTP/HTTPS part. I am new to HTTPS and want to know how to achieve this. Also would like to know, sometimes when we browse some HTTPS page and few of the items like image are referenced over …

Member Avatar
Member Avatar
+0 forum 2

hi all I am new to web services.I want to know how to extract the java file from the given WSDL in which i have https based URI. please suggest

Member Avatar
+0 forum 0

While connected to a public wireless network at a hotel, my laptop lost its ability to browse websites via HTTP. The problem persisted when I returned home using my private wireless network. However, I noticed I can browse sites via HTTPS and FTP. I can even ping external websites in Command Prompt. (For example, using the command “ping google.com”, I receive IP address replies.) Windows appears to be downloading regular updates as well. This could be a setting I have unknowingly disabled. Unsuccessful attempts to resolve the issue include: --Sweeping my system for malware with Trend Micro and Malwarebytes’; --Connecting …

Member Avatar
Member Avatar
+0 forum 2

Hello Everybody, My site [url]www.mygospellove.com/[/url] is https based. It works fine in all major browsers but it shows system information message in IE. It shows site contains secure & nonsecure items. How i can resolve this issue..? Any help will be appreciated..

Member Avatar
+0 forum 0

Presently I working on a firewall project. First thing I have to do if any user want to access illegal site I will not let him do so. So I tracking tpc packets. So far for http request I dont have any problem. But for https I do have some problems. Cause I unable recognize a https packet. Can any one help me on that please. Thanks.

Member Avatar
+0 forum 0

I have a Mac running leopard that won't connect to sites that start with [CODE]https://[/CODE] It connects fine with all sites starting with [CODE]http://[/CODE] When I try t connect to a https safari displays [QUOTE]Safari can’t open the page [I]page url[/I] because Safari can’t establish a secure connection to the server [I]server[/I]”.[/QUOTE] The mac is connected to the internet using airport and the wifi signal is usually good. When I try to add a gmail account to iCal that starts with https it also displays an error message so I don't think this is just safari acting weird. Please help …

Member Avatar
Member Avatar
+0 forum 1

The End.