348 Topics
| |
We host some page resources, such as fonts, on a different subdomain (e.g. webpages are at www.daniweb.com and resources are at cdn.daniweb.com) An HTTP header of `access-control-allow-origin: *` is being sent from all cdn.daniweb.com requests. When inspecting indexed pages from Google Search Console, from the URL Inspection tool I click … | |
I came across this [article](https://developer.ibm.com/articles/messaging-protocols/) from IBM. It states that a **protocol** describes the **format of the bytes** that are transferred over the wire. > A protocol is sometimes referred to as the wire protocol, and it describes the format of the bytes that are transferred over the wire, and … | |
## Introduction ## The Hyper Text Transfer Protocol (`HTTP`) is one of the most common communication protocol on the internet. There are three major versions of HTTP that you should be aware of: **1.1**, **2.0**, **3.0**. Versions 1.1 and 2.0 are widely used today, so this tutorial mainly focuses on … | |
Issue: I need example.no-ip.org to point to example.no-ip.org:20202 I have read that this is not possible with just DNS. However no-ip.org lets me set up DNS SRV (records?). Ive have followed this guide to set it up, but it does not redirect to IP : PORT [url]http://www.no-ip.com/support/guides/other/configuring_srv_records_with_no-ip.html#1[/url] Still cant get … | |
Internal links are wrecked – One of the ways to rank websites pages in search engines is by swarming their links. If there are deceased links or broken links on your website, it can stop search engine bots from crawling your site and, thus, indexing it. It is good that … | |
Hi! Recently I have decided to change my website from Fred's Fashion Boutique to Fred's Fashion (because the URL became available) and I was in the process of a redesign so I thought it would be a good time. My website is only about 3 months old so wasn't receiving … | |
Hi. I have recently a problem to access to sites https in all browsers. In the past I had a similar situation and that the problem was solved by removing Bytedefender. Now, I have no antivirus, Windows security only, and there is an app called Lenovo VANTAGE in which the … | |
If you need your PHP script to redirect to a different website, you can send an HTTP header to do that. Remember, `header()` must be called before any actual output is sent, which includes not just HTML, but blank lines, etc.. as well. | |
Hello, I have been searching around the net looking for solutions to my problem, but none have worked. My issue is that when i redirect using: <meta http-equiv="Refresh" content="0; url=<?php echo $URL; ?>"> The hash tag part of URL gets removed by IE. So example.com/sample#foo will just load as example.com/sample. … | |
Hi All, I have a PHP code which do some changes to the POST variables it receives and redirect the page to some other page. This PHP code was initially designed to work without Ajax. So there wasn't any problem with the redirect function and it perfectly handles the POSt … | |
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 … | |
Cache in local storage of browsers gets cleared when website page redirects from AliPay payment website. This is happening in some computers and working fine in some. From my website user selects AliPay payment method then user is redirected to payment website and on successful payment is being redirected back … | |
I want to redirect every user on my site to folder - if folder exists with htaccess. Regardless to which page he wants to access (index.php, team.php, custom.php), he must be redirected to the folder I want. | |
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 … | |
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? | |
I'm using Mamp 3 (pro) on Mac OS X Yosemite 10.10; I'v already compiled and installed mod_proxy_html (3.1.2) and mod_xml2enc, they are both correctly loaded by Apache 2.2.29 without issues. This is my typical html file: <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Authorization" content="Bearer dummyToken"> <title>Header … | |
I dont know whether this is the relevant forum but I dont know why I am getting the above mentioned error when I try to open website www.magicbricks.com from my laptop. I can open this on my office computer..! The error details are as below; HTTP Status 500 - error.security.userNotActive … | |
I am trying to use a sms gateway app for android called SMSGateway with a http header request using curl as below; $curl_handle=curl_init(); curl_setopt($curl_handle, CURLOPT_URL,"http://192.168.1.2:9090/sendsms?phone=$phone&text=$message1&password=xxxxxxxx"); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 10000); curl_setopt($curl_handle, CURLOPT_TIMEOUT,50000); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_handle, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; rv:36.0) Gecko/20100101 Firefox/36.0'); $query = curl_exec($curl_handle); if($query){echo "Message Sent to $phone … | |
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. | |
Reading the content of a web page with a given URL is pretty simple with Go. Here we defer the closing of the response body (at an early point, so we won't later forget) until the program exits. | |
Almost every single topic I'll start will start with `OP Kudos:`? Just because I have **+18** on reputation now? Not all of the questions I ask are that extremely important, some are just normal question where I ask you to share your knowledge, or I ask your opinion. Sure, it's … | |
HTTP Status 404 - /grid/ type Status report message /grid/ description The requested resource (/grid/) is not available. Apache Tomcat/5.5.20 | |
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception root cause java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/gridjet/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 … | |
I have a few dozen links like: http://www.domain.com/publication?id=test http://www.domain.com/publication?id=test&tkn=25MMI7 http://www.domain.com/publication?id=VfgodzE4Akg&tkn=25GJK02&gid=VCsfkQENp4g:20150323:s I want to be able to redirect them to: http://www.domain.com/publication/?id=test http://www.domain.com/publication/?id=test&tkn=25MMI7 http://www.domain.com/publication/?id=VfgodzE4Akg&tkn=25GJK02&gid=VCsfkQENp4g:20150323:s How can I do this? Thank you. | |
This "FakeWebClient" will allow a C# application to send and receive cookies as part of the request. This behaviour is not available by default. Please note that on line 35 there is a possible NullReferenceException, I managed this at a level higher but you may wish to handle it in … | |
Hello good people. I am trying to add a snippet of javascript to the head tag of a mobile site that checks if the visitor is using a PC and if the visitor is viewing the mobile site on a PC I want them to be redirected to the normal … | |
Hi can anyone help me find what am i doing wrong. i have an xml request that check data on db and return the result. and base on that result it will clear or highlight a textbox. its working fine using the original function but when i add another xml … | |
Dear Readers, I have a simple HTML form pointing to a PHP (<form action="xy.php" method="post">), and if I type http:// into an input of the form, it won't run. If I type anything else the form runs. How can I solve this? Maybe somewhere it is interfering with another http:// … | |
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 … | |
Just discovered PLOOP.com. Have all the folders but the bootloader file online is said to be outdated. don't know where the newes file is |
The End.