HTTP stands for Hyper Text Transfer Protocol and is the protocol used to transfer information around the World Wide Web.

learn more… | top users | synonyms

1
vote
1answer
2k views

Retrieving kickstart and other .img file in pxe remote installation in CentOS

I am trying to installation CentOS through pxe tftp installation. Installation starts but it fails to download image files from the http server. but file are accessible on the http server. Logs from ...
0
votes
0answers
9 views

Make Glassfish Listen the HTTP requests

I am running glassfish in a VPS with windows server 2008. I have a web application deployed with glassfish. I can access it via (paddles:8080/webapp), but when I do www.mydomain.com or ...
1
vote
1answer
121 views

Nginx, check for request method without using IF?

I am trying to optimize my Nginx config but ran into an issue I don't know how to fix. I have a folder /images on my server from which I deliver various static files for a website. The same folder ...
0
votes
2answers
2k views

Apache stops responding to http requests — https continues to work

Okay. Very strange problem that I'm having here. I just recently updated to Apache 2.4.2 from 2.2.17, mostly to try to get name-based SSL VirtualHosts working (although they should have been working ...
1
vote
0answers
16 views

Varnish keeps getting MISS when Nginx is backend server

I am experiencing a really weird situation where Varnish works fine with hitting directly to application server (Play server), but not working with Nginx as web sever. Working: Varnish:6081 => ...
6
votes
3answers
940 views

.htaccess redirect all extension to php

I recently updated my .htaccess file to hide the .php extension of the urls. It works nice, when I try to reach domain.com/index, it displays the php file. When I type domain.com/index.php it ...
1
vote
2answers
5k views

How To Enable URL Filtering With Just Squid & C-ICAP

Before I posted this question, I read several set up guides online, the squid docs, c-icap docus, and also the ICAP RFC (3507). Unfortunately, the documentation for SQUID and C-ICAP does not provide ...
1
vote
1answer
795 views

HTTP Request Header limit hard coded in Apache 2.2

I looked up some other question concerning this on SF, they revolved around a maximum limit being set for LimitRequestFieldSize and LimitRequestLine at 8K. httpd's documentation confirms the limit, ...
0
votes
0answers
10 views

Apache mod_speling redirects to wrong schema

We currently need to use mod_speling on our site to get some old content working properly without the need to manually editing hundreds of files to fix upper- and lowercase issues. We are currently ...
4
votes
3answers
4k views

What is HTTP COOK request method in my logs?

I'm seeing entries in my Apache logs like the following 178.216.185.210 - - [24/Feb/2014:11:46:40 -0500] "COOK /freesearch.php?portal=0a9&... HTTP/1.0" 303 589 "-" "Mozilla/4.0 (compatible; ...
0
votes
0answers
19 views

Restarting apache takes forever

I am having issues restarting my apache 2.4, prior to this I had a CentOS 6 with apache 2.2 and whenever I would do "service httpd restart" it would shutdown and startup in a matter of seconds, one ...
0
votes
1answer
158 views

zero-config CGI enabled web server

To serve static content of a directory over http, one can simply navigate to that directory and type: python -m SimpleHTTPServer 11111 which will start a http server on port 11111. This hack is ...
0
votes
1answer
872 views

How to properly use nginx echo support to respond with a 504 inline page?

I am trying to reply with a custom 504 page by using nginx echo support but for some strange reason when this is active the browser downloads the response instead of opening it. server { ...
2
votes
1answer
139 views

Nginx or Varnish caching with multiple versions of a site

I have a website (https://mediacru.sh) that has a few versions. There's the normal desktop site, the same site with a dark theme, and the mobile site. They all share the same URLs. The theme is ...
6
votes
2answers
4k views

Git push over http (using git-http-backend) and Apache is not working

I have desperately been trying to get push for git working through the "smart-http" mode using git-http-backend. However after many hours of testing and troubleshooting, I am still left with error: ...
3
votes
8answers
1k views

Why do https connections take longer to establish than straight http connections?

Why is it that Secured HTTP Connection (https) is Slower then than typical HTTP (http)? Just interested in knowing only. Thanks.
175
votes
11answers
44k views

Is it bad to redirect http to https?

I just installed an SSL Certificate on my server. I use a web hosting panel called ZPanel that is an open source project. It then set up a redirect for all traffic on my domain on Port 80 to ...
1
vote
1answer
29 views

Disable authentication for HTTP OPTIONS method (preflight request)

One recurring problem with CORS is that the spec prescribes request headers get stripped from the preflight request (HTTP OPTIONS). However if the server requires authentication, this means the ...
5
votes
2answers
2k views

Redirect all http requests behind Amazon ELB to https without using if

Currently I have an ELB serving both http://www.example.org and https://www.example.org. I would like to set it up so any request pointing to http://www.example.org is redirect to ...
0
votes
2answers
32 views

Nginx multiple roots

I'd like to divert off requests to a particular sub-directory, to another root location. How? My existing block is: server { listen 80; server_name www.domain.com; location / { ...
2
votes
1answer
970 views

What's the best way to detect whether an incoming request is secure?

Is there a preferred method of detecting HTTP vs. HTTPS on an incoming request to an F5 load-balancer? We are attempting to detect secure vs. non-secure with an iRule and pass a corresponding header ...
3
votes
2answers
8k views

Squid throws error, The requested URL could not be retrieved

Sometimes I am getting the following error The requested URL could not be retrieved While trying to retrieve the URL: http://groups.google.com/ The following error was encountered: Unable to ...
1
vote
2answers
6k views

How to redirect example.com from HTTPS to HTTP, then HTTP example.com to newdomain.com?

As of now I use this rule (in .htaccess of example.com) to redirect HTTPS/HTTP example.com to newdomain.com: Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://newdomain.com/$1 ...
-1
votes
0answers
22 views

Which HTTP status code should be returned when page is being edited and therefore not available? [migrated]

Let's say an URL was public, accessible for all, but right now is being edited and, therefore, is temporary unavailable, but it will be available in the near future. Which HTTP status code should be ...
2
votes
3answers
2k views

Manual NAT on Checkpoint (Redirect all http requests to a local web server)

We have a proxy server in our internal network and I want to redirect all internet http requests to a web server in local network. It'll be like a Network Billboard that says "No direct connection is ...
12
votes
6answers
11k views

Getting 408 errors on our logs with no request or user agent

I'm getting a lot of requests turning up in our apache logs that look like this www.example.com:80 10.240.1.8 - - [06/Mar/2013:00:39:19 +0000] "-" 408 0 "-" "-" - There seems to be no request and ...
0
votes
1answer
21 views

Nginx on VM on ded. root server has very slow download rates

I'm running VMware ESXI on a kimsufi dedicated root with 100Mbit/s network access. As the root has only 1 public IPv4 available and ESXi cannot NAT its VMs, I assigned the public IP to VM#1 which is ...
2
votes
2answers
1k views

What is the difference between using upstream and location for php-fpm?

I've been searching around but couldn't find a straight answer, if someone could please clarify this, would be greatly appreciated, thanks! location ~ \.php$ { try_files $uri = 404; ...
0
votes
2answers
47 views

Http Requests: how to identify a machine using multiple IP addresses

I have an http server. Is it possible to identify a machine, which is making http requests to my http server using different IP addresses? In other words, is it possible to identify a machine, by ...
2
votes
3answers
60 views

fully qualified domain names, dhcp dns search suffixes, and trailing dots

http://www.stackoverflow.com./ does not work, notice trailing dot. Bad Request - Invalid Hostname HTTP Error 400. The request hostname is invalid. Should servers be configured to deny any URLs ...
7
votes
1answer
143 views

How to fix Image Swapping Issue in iOS 8 with keep-alive + HTTP Pipe-lining?

Ever since iOS8, the sites I managed are experiencing an intermittent problem in which images are swapping locations with other images. This has been mentioned in a number of places, but with no ...
0
votes
1answer
31 views

Will HTTP/2 work with Apache acting as a reverse proxy to an OpenLightSpeed server?

Before wasting my time and doing something I figured I would ask the question first. I really want to try out HTTP/2 and since Apache does not have a module for it yet I figured I would use ...
1
vote
1answer
86 views

Questions about REST and server logic

Okay, first off I'm a compete server noob. So I apologize if I upset you with my ignorance. I've currently set up a linode and had it installed with MySQL and apache. Right now, I'm trying to learn ...
0
votes
2answers
78 views

HTTP to HTTPS redirect loop

Firstly, I know there is a million of copies of this question already but after hours of trying solutions from all of them I've got nowhere. So I want to redirect all incoming HTTP traffic on my ...
0
votes
0answers
26 views

HTTP response returns valid content-length header but no message body

I've recently found a very strange problem which I can't explain. After posting a HTTP request to our server occasionally the following response will occur: HTTP/1.1 200 OK Date: Mon, 13 Apr 2015 ...
0
votes
1answer
105 views

No response from a remote linux server on specified ports

I have a remote CentOS 6.5 server that is running a tomcat 8 web server (AKA servlet) on port 54321 and I can't access it from my computer, although I'm establishing a successful SSH connection ...
1
vote
1answer
2k views

301 redirect Rule For Load Balance F5 BigIp

I have a load balancer F5 Big ip for my website. Currently, I am having 302 redirect in place; however, I wanted to apply 301 but dont know how. For example: My website (abc.com) when typed 302 ...
1
vote
1answer
39 views

SSL not working with subdomains

I have an issue here, I am new on this, I've been watching some tutorials and I see that everything is OK in my configuration but I can not access to my page with the subdomains. Here is the report ...
1
vote
3answers
70 views

Server not responding from outside the LAN

I have an Ubuntu Server 14.04 running Apache that is behind a corporate firewall. This has been working fine for the last month but now the server is not responding to requests coming from outside the ...
2
votes
1answer
2k views

Configuration of nginx for git-http-backend on debian(-based systems)

I'm having trouble to get git-http-backend working using an nginx server on my Ubuntu 13.04 machine. Tried it with Debian 7 before but with similar results. Basically I followed ...
-1
votes
0answers
12 views

IIS download slow for internal connection

I am trying to figure why I am getting slow speeds for an internal connection to iis than local. I know that obviously a local connection will be faster, but I am basing this speed on a mapped drive ...
8
votes
5answers
22k views

Is there a way to turn off client browser caching for specific websites?

This is a browser agnostic question but we're testing with IE9. One of the web apps our users visit is being randomly cached and changes aren't showing up when they should. No other site has this ...
9
votes
4answers
14k views

Connecting to HTTPS with netcat (nc) [closed]

I'm working on homework assignment for my college. Task is to fetch web page on HTTPS using nc (netcat). To fetch a page over HTTP, I do this: cat request.txt | nc -w 5 <someserver> 80 In ...
0
votes
2answers
85 views

nginx redirect http to https not working

I am trying to reroute from http to https. For example you visit example.com and you will be automatically redirected to https://example.com. I tryed using this one: server { listen ...
0
votes
1answer
1k views

Hudson authentication via wget is return http error 302

I'm trying to make a script to authenticate in hudson using wget and store the authentication cookie. The contents of the script is this: wget \ --no-check-certificate \ --save-cookies ...
0
votes
1answer
384 views

apache shuts down for no reason [closed]

I am a little baffled here. I am using CentOs 5 64bit and directadmin. I am also running Apache 2.2.19. I was pulling my hair out because some of my uploads were stopping and becoming incomplete for ...
0
votes
1answer
1k views

Apache HTTP Server+Tomcat: Which file generates mod_jk.conf, how to modify generated stuff, and how does httpd reach it?

I'm using XAMPP with Apache HTTP Server and Tomcat Add-On installed. There's a default mod_jk.conf which is generated by Tomcat when starting it. But which file generates this mod_jk.conf file? How ...
0
votes
1answer
79 views

Apache randomly stops serving HTTPS, but HTTP works just fine

We have this Apache on Windows Server 2012: Server version: Apache/2.4.9 (Win32) Apache Lounge VC10 Server built: Mar 17 2014 10:48:43 Most of the time, it works perfectly, but from time to time ...
0
votes
0answers
105 views

Error: No 'Access-Control-Allow-Origin' header is present on the requested resource. (NGINX)

I am using NGINX and I am receiving that error in the browser's console. I am so frustrated. According to my boss, I need to set up cors which what I did and still I am getting the same error. This ...
1
vote
1answer
2k views

git push over smart HTTP fails with 403

This has been driving me nuts. I'm running git 1.7.8.rc4 with Apache/2.2.14 on Lucid Ubuntu, and set up LDAP authentication. The authentication seems to be working fine, and i can pull, but i can't ...