HTTP Protocol

The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. Hypertext is structured text that uses logical links (hyperlinks) between nodes containing text. HTTP is the protocol to exchange or transfer hypertext. HTTP functions as a request-response protocol in the client-server computing model. HTTP is designed to permit intermediate network elements to improve or enable communications between clients and servers. HTTP is an application layer protocol designed within the framework of the Internet Protocol Suite; it presumes an underlying and reliable transport layer protocol.

Share tech news, updates, or what's on your mind.

Sign up to Post

I had this question after viewing Going from HTTPS to HTTP.

I have basically the same problem as the question above. But I think we have scattered links through out the site that have https in them, so https links are staying in the searches. We don't want to scour through the site for them because we're not really working actively with it anymore.

It's on Debian GNU/Linux server. I tried using the below code and it doesn't work. I assume it's because it's checking for ssl to be on and since it isn't it skips the rule? I couldn't find any examples searching that were different than this.

RewriteEngine On
RewriteCond %{HTTPS} ^on$
RewriteRule ^(.*)$ http://www.seoautomatic.com/$1 [NC,L,R]

Open in new window


Thanks for any help.
0
This must be the 5th question I have asked in september, versus an average of 2 questions a year previously.  I have just changed the url settings in my wordpress site to https from http and now have lost access (can still ftp).  Is there an easy way to change the url back using ftp?

Some things I have already tried:

I turned wp_debug on
I can't find http settings in the wp--config.php file
I don't see an https setting in the functions.php or vars.php files
0
Hi,

I want to redirect and then rewrite my URL (internal forwarding) so that it doesn't show the php extension as well it doesn't show the ?, = and & in the URL.

This is the example of what I want to achieve, my actual URL passed to header is http://localhost/portal/error.php?error=runtime-error which I want to show in the address bar http://localhost/portal/error.php/error/runtime-error and internally this URL is forwarded to the actual URL http://localhost/portal/error.php?error=runtime-error.

Also, what I want to achieve is here is single redirect and single rewrite rule(for internal forwarding) which applies to all the scripts instead of adding individual redirect and rewrite rules for each script page.

Below is the code that is present in my .htaccess file.
ErrorDocument 404 /portal/error.php
ErrorDocument 500 /portal/error.php

RewriteEngine On
RewriteBase /
RewriteRule ^include/(.*)$ /portal/error.php [L,R=404]

Open in new window


Kindly let me know if any more information is required.

Thanks in advance
0
We just finish purchasing a SSL for a site.  Yet when we log to the site without "Https", it displays the regular "Http:".  However, when typing "Https://domain.name", it display the "S" and the Lock, otherwise it doesn't.  

Is the site secure? Does it have SSL? How can we determine that the SSSLl is in effect even without seeing the Lock or "Https"?

Please advice.
0
I am developing a Phonegap application that not only runs on the phone but also on the desktop's browser.  The application needs to access the resources in the www directory and a few js files that reside on external sites.  So far my meta tag looks like this:

<meta http-equiv="Content-Security-Policy" content="default-src 'unsafe-inline' localhost:*/*  'self' *.shlepz.com  *.googleapis.com   https://www.youtube.com  *.gstatic.com  *.ytimg.com; ">

Open in new window

With this meta tag I am still receiving the error, "127.0.0.1/:195 Refused to connect to 'ws://127.0.0.1:8080//ws' because it violates the following Content Security Policy directive:

I have no idea what ws is.  How do I change the localhost entry in the meta tag to make the error go away?  To state the incredibly obvious, I don't know what the port number will be until the application is loaded.  Most of the time it is 8080 but not always.

Thank you for your time,
0
Hello

We have different types of internal websites:

i. Access to everyone

ii. Requires AD authentication

iii. Requires SiteMinder authentication

We are looking into a custom mobile browser for our users and what the user experience is like with the three types of sites.

For (ii), on the desktop, we don't notice any prompt, since I assume Integrated Windows Authentication is used. However, on the mobile browser, would this be kerberos or NTLM? How would we notice the difference and in which format do we need to enter the credentials?

At the moment, the browser prompts in the format:

Username:
Password:
Realm or Domain:

Likewise, for (iii), SiteMinder doesn't have a realm or domain. What should we enter?
0
IIS/FTP InstallIIS Mgr.PNGAccessing Shared Folder  from Another PCAccessing FTP server via IEFTP LoginFTP ErrorHi,
  I have set up FTP server on a domain joined PC  (OS: Windows 7 Professional).
  I installed FTP Extensibility, FTP Service and IIS Management Console.
  I opened IIS manager and created a FTP site and new FTP site is up and running.
  I can access three test files by doing \\192.168.1.166 from the PC on the same network.
  I can also view three test files when I run ftp://192.168.1.166.

  However if I run FTP program to access the FTP server (NetBIOS name: DISK, IP address: 192.168.1.166), I get an error.
 
   What do I need to do to be able to connect to the FTP server running from "DISK" PC?

Thanks.
0
I have a webpage with a "slide show" of transitioning background images that sort of tell the story of the accompanying song: http://dijitalrealm.com/GrandDesign.html. I like the way it looks but when I'm in landscape view on my mobile phone and I have to scroll down the right hand div to see all the lyrics, the background image gradually gets covered with black from the bottom up as you scroll.

Is it possible to keep the background images showing full screen when I scroll? For comparison look at the same page with one stationary image: http://dijitalrealm.com/JCMusic/GrandDesignStill.html

I'm guessing that my code is pretty unprofessional but hopefully there's a solution that wouldn't require too much modification.

Thanks!
John
0
We started getting "Page not found" when trying to connect to BusinessObjects XI 3.1 SP6 via https, only for Internet Explorer. We could make the connection via Chrome (but Chrome doesn't fully work with BO for editing reports).

I've narrowed it down to Windows KB3172605 - when this installed, we started getting "Page Not Found". I removed it and we connected. The same scenario is reported in my third link below. This was part of this set of updates:
Windows updates
The page not found error occurred on our development box (with a DOD cert, Sha-1) and on Prod (self-signed cert). So since it fails on both, my conclusion is that it's not the cert.

Here are a couple of links on KB3172605
- Microsoft yanks buggy speed-up patch KB 3161608, replaces it with KB 3172605 and 3172614 (it doesn't say all that much about KB3172605)

- Microsoft rollup announcement, July 2016 (it says it works with Sha-1)

- German blog with discussion on KB3172605, which basically says "don't install it"
     - Also, the third comment is our exact issue

So my questions are
- These KB things, they (often) only affect IE, not Chrome, is that right ?

- BusinessObjects XI 3.1 SP7 officially works with IE-11, but SP6 (which we have) does not support IE-11, but it worked fine until KB3172605. So my gut reaction is that upgrading to SP7 wouldn't solve the issue, it seems to me that KB3172605 is the issue. What do you think ?
0
Hello all,
    I have an HP Layer 3 1920 switch as well as a Sonicwall NSA 2600 and am trying to figure out a way to restrict access on port 15 of the HP to only have internet, similar to a "guest mode" on a wireless router. I do not know what the IP will be nor do I know the MAC address of what will be on that port. What is the best way to go about this?

Thanks!
0
How to set it up ??
0
I have the below code i have been using for ages, that long that ive forgotten how to submit information via a URL to it rather than through an app.

Can anyone let me know what i have to type to get info out on the other end please.


<%
Dim TN,FN,SN,TL,EM,PC,NT,CT,ES,RV,LT,TT,AT,RF, stext

Dim fs, file

fs=Server.CreateObject("Scripting.FileSystemObject")
file=fs.CreateTextFile("C:\test\upload\" & request.form("Reference") & ".txt",true)

TN = request.form("TradingName")
FN = request.form("firstname")
SN = request.form("surname")
TL= request.form("Tel")
EM = request.form("Email")
PC = request.form("PostCode")
NT = request.form("Notes")
CT = request.form("CompanyType")
ES = request.form("Established")
RV = request.form("Revenue")
LT = request.form("LeadType")
TT = request.form("TTD")
AT = request.form("ATV")
RF = request.form("Reference")

AT = Replace(AT, "#"  , "")
AT = Replace(AT, """"  , "")
AT = Replace(AT, "£"  , "")
AT = Replace(AT, "&quot;", "")
AT = Replace(AT, "&lt;"  , Chr(60))
AT = Replace(AT, "&gt;"  , Chr(62))
AT = Replace(AT, "&amp;" , Chr(38))
AT = Replace(AT, "&nbsp;", Chr(32))

file.write("""")
file.write(TN)
file.write(""",""")
file.write(FN)
file.write(""",""")
file.write(SN)
file.write(""",""")
file.write(TL)
file.write(""",""")
file.write(EM)
file.write(""",""")
file.write(PC)
file.write(""",""")
file.write(NT)
file.write(""",""")
file.write(CT)
file.write(""",""")
file.write(ES)
file.write(""",""")
file.write(RV)
file.write(""",""")

Open in new window

0
Hi All,

We used Coova-Chilli for WiFi-Marketing and we got an issue with smartphone device, when the end-users accessed Access Point (AP), the system automatically popup iframe:

1. If using HTTP, it redirect to URL with HTTP
2. If using HTTPS, it couldn't popup URL using SSL

Please give us your advices how to resolve this issue.

Thanks in advance,

PS. it worked OK when using HTTP or HTTPS for PC/Laptop.
0
I have a nginx server sitting on dmz to poing traffic to a java application.  The reason why i call it java application is because it only has a xxx.jar file running. I could like to proxy the http traffic to the java application. The port is poart 80. I did the following nginx configuration as below, but it doesn't work. Is there any nginx experts here can help me with this issue?


[root@pmsdev jyu]# ps -ef | grep java
root      3108     1  0 13:29 ?        00:01:56 java -Dspring.profiles.active=dev -jar /data/AveryRollProduction.jar /tmp
root      3933  3918  0 17:24 pts/0    00:00:00 grep --color=auto java



    server {
        listen       80 default_server;
        listen       [::]:80 default_server;
        # server_name  localhost;
        # root         /usr/share/nginx/html;

        server_name  localhost;
        root         /usr/share/nginx/html;

        # Load configuration files for the default server block.
        include /etc/nginx/default.d/*.conf;

        location / {

        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://10.104.0.104:80;



        }

Open in new window

0
Hello EE,

Is it possible to read the value of a POST Header Entity Response Body value ?
in other words, If I have an Entity  Content-Length : 56

how can I know its value ? I know its the length, but how can I see what is it? doesnt matter if its ASCII or something else to me

another question attached to this is, if I know its value, is it possible to achieve the same results with a Querystring after ?
0
We recently began noticing issues with our ATS when we added a new url to web application.  I've searched everywhere for information on how to understand the ATS diags.log but I haven't found anything that will help me decode these errors.  Nothing on the Apache site was too clear.  Has anyone experienced issues with Slow Requests from ATS.  Also

[Aug 13 21:05:56.242] Server {0x2b41ad211700} ERROR: [1746026] Slow Request: client_ip: 127.0.0.1:51987 url: api.mapbox.com:443/ status: 200 unique id:  bytes: 24092 fd: 0 client state: 0 server state: 0 ua_begin: 0.000 ua_read_header_done: 0.000 cache_open_read_begin: -1.000 cache_open_read_end: -1.000 dns_lookup_begin: 0.000 dns_lookup_end: 0.000 server_connect: 0.000 server_first_read: -1.000 server_read_header_done: -1.000 server_close: -1.000 ua_close: 30.859 sm_finish: 30.859
0
Hello all,
    Users (including myself) have been getting the error of :net::ERR_CONNECTION_RESET: when trying to select an item that they searched for  (ajax loaded search results), but when they click on the item it takes them to an error screen. It was discovered first on an ipad using Safar on a 3g connection and they were not able to provide much information, so then I tried on my phone and got it as well (Android Marshmellow, using Chrome), so I connected my phone to my PC and enabled remote debugging, but only came across this really.

:Failed to load resource: net::ERR_CONNECTION_RESET

GET http://oursite.com/index.php/Site/Detail?wek=MSM501&cmp=%20AND%20IZCMP%20=%201 net::ERR_CONNECTION_RESET

http://oursite.com/index.php/Site/Detail?wek=MSM501&cmp=%20AND%20IZCMP%20=%201

If I put my phone on wifi, it seems to work just fine, but when I switch over to 4g LTE, it then does it again. My PC works fine, as does everyone elses here, but we have had 4 reports, (2 from sales people, 2 from customers). The rest of the site seems to be working fine, but it is only when actually selecting a product in a search field that uses ajax to create a list of matching items. That works fine, it is only when you actually click on one of the items it then does this.

Could it possibly be a server setting of some sort?

Thanks all
0
Hi, I have a simple POST command that sends username and password, this works very well on all workstations that I have tried so far but not on my customer workstations.   Even though it worked for several months, now I get an error 1.1 400 bad request.    I'm not sure what could have changed, maybe some security settings on the server.    

If I use a wrong password or username I'm getting the response that authentification failed, so the POST command is working.    When username and password are good, there's some redirection done I suppose, that's when the error happens from what I can guess.

I'm using delphi XE, component tIdHTTP, here is my complete code (without the actual password):

var idhttp1 : tIdHttp;
JsonToSend: TStringStream;
sResponse : string;
begin
    idhttp1 := tidhttp.create(application);
    idhttp1.HandleRedirects := True;
    idHTTP1.Request.ContentType := 'application/x-www-form-urlencoded';
    JsonToSend := TStringStream.Create('AccountNumber=852&Username=buroprostation&Password=xxxx');
    try
       sResponse := idHTTP1.Post('http://dprtweb.com/Account/LogOn/', JsonToSend);
    except
      on E: Exception do
        ShowMessage(e.Message);
    end;
end;
0
We have an apache webserver and neet to modify the .htaccess file so that all possible canonical versions of our homepage redirect to the root of domain without the trailing slash i.e. we want the homepage to have this URL:   http://www.our-website.com   

We setup some .htaccess redirects which deal most of the canonicals however when we found that we also need to redirect http://www.our-website.com/index.html  TO root  http://www.our-site.com  

 What would be the additional rewrite rule we need to add to the ones we have already  to do this?

This is what we have so far in our .htaccess file:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^our-website.com
RewriteRule (.*) http://www.our-website.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^[0-9]+(\.[0-9]+){3} [OR]
RewriteCond %{HTTP_HOST} ^our-website\.com
RewriteRule (.*) http://www.our-website.com/$1 [R=301,L]
rewritecond %{HTTP_HOST} ^our-website\.com
rewriteRule ^(.*) http://www.our-website.com/$1 [R=301,L]


Thank you
0
I am developing an Ionic application for iPad. The app is supposed to connect to Express running on Mac.

I have connected the iPad with this Mac using a usb cable. Now, in order to check that I can access node server from iPad, I am doing the following in Chrome on iPad

http://<mac ip>:<node server port>

How, this returns a page not found. The same url works when I run it directly on the Mac.

Given the Mac and iPad are connected by the usb, how can I access node server running on mac from iPad? I was hoping that something like http://127.0.0.1:3000 would work, but that is not the case. Even giving the IP of Mac does not work.
0
I would like to take a look at the actual playlist file that gets transmitted from the server to the client when the client requests an HLS video stream. According to HLS specification, the Server must transmit what's called a "playlist."
https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#page-7

I was thinking about using WireShark networking packet analyzer to intercept this file, but I am not sure how to do it.

Any ideas?

Thank you!
0
Hi,
We are using custom solution that is using IIS regular web server.
I have certificate configured for https://website. it is binded to 443 and working.

Users need to authenticate to the web server using windows authentication https with cert. But I am getting 401 unauthorized error for some users but not for others. In particular users in source are not able to authenticate.
Web server is in the target. But some users from source successfully authenticate. Target users have no problem to authenticate

How do you troubleshoot this issue? Where to look to solve this quickly?

We tried clearing IE cookies, moving workstations to different OUs. The issue is random. Everything worked fine few days ago, and then smth happened.

So now users are continually prompted for creds when accessing webserver url and then authentication fails with 401. Also we saw this error in the event log.

They are not suppose to get prompted at all because the web site is in the Intranet zone.

Error in the event log

failed to set DefaultTargetDNS via GetSetting http call. Error:GetConfigSetting Http call failed - url: https://website/ActivationPortal/Settings/GetConfigSetting, urlParams: configGroup=DomainSettings&keyName=defaultTargetDNS, Error: The remote server returned an error: (401) Unauthorized.,    at System.Net.HttpWebRequest.GetResponse()
   at Msm.PreMigrationTestCommon.HttpHelper.SendHttpRequest(String method, String uri, String parameters, String userName, String …
0
Hi all,

Can someone please assist with this? I'm new to the Sharepoint..

http://myserver/my/Person.aspx returns HTTP 404 Not Found

Thanks a lot!
Vlas
0
Hi,

I was creating some articles and upload an image for each in wordpress. From one moment to the other, failed to upload images. I've tried through the media gallery but the error is the same. The size of the images is small about 200kb and does .jpg and .png extensions.

Http Error message appears.

Image attached.

best regards
img6.jpg
0
Just curious: I understand that my router does NAT between my private home network and the internet.  How can I see/follow what happens when I enter a website's url into my browser?

I've got Fiddler installed - will this show me, or do I need wireshark?
I'm trying to see things like how my Internet router tags http packets so that it know how to route return packets to my laptop's nic vs. the virtual nic in a virtual machine running on my laptop which is also using the laptop's nic to get internet access.
0

HTTP Protocol

The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. Hypertext is structured text that uses logical links (hyperlinks) between nodes containing text. HTTP is the protocol to exchange or transfer hypertext. HTTP functions as a request-response protocol in the client-server computing model. HTTP is designed to permit intermediate network elements to improve or enable communications between clients and servers. HTTP is an application layer protocol designed within the framework of the Internet Protocol Suite; it presumes an underlying and reliable transport layer protocol.

Top Experts In
HTTP Protocol
<
Monthly
>