All about programs and services that use the Hypertext Transfer Protocol.

learn more… | top users | synonyms

2
votes
1answer
46 views

How to create a http mirror?

I need to create a mirror of a directory shared over HTTP. Source server uses apache index module. Here is an example of a similar directory: http://apache.mirrors.pair.com/httpd/ The content is not ...
2
votes
0answers
223 views

File uploads and max_execution_time and request_terminate_timeout

In case of HTTP file uploads (nginx+php5-fpm) does max_execution_time (in /etc/php5/fpm/php.ini) or request_terminate_timeout (in /etc/php5/fpm/pool.d/www.conf) also include the time the file took to ...
2
votes
1answer
403 views

OpenWRT redirect traffic based on requested domain/port pair

If we would have an OpenWRT router, would we have a solution for redirecting the users traffit to HTTPS if they would request a plain HTTP website based on domain name? Example: If the traffic wants ...
2
votes
0answers
178 views

HTTP request failed after listening on multiple ports or after enabling SSL Module on my Linux Board

I have one custom Linux board on which I want to run apache web server to test HTML and other web based services. I have configured, cross compiled and installed default httpd (2.2.24, 2.4.1, 2.4.4 ...
1
vote
2answers
5k views

Type URL and show HTTP status

I want to make a shell script where I type an url and it returns me the status code.So far I've tested wget is there any other cause it has the tendency to save whatever you run. Then I tried to some ...
1
vote
2answers
993 views

How to get wget to use the direct URL file name as output file name for a shortened URL

I'm trying to download all the books from a URL list in bulk. The list is in a text file in http://ligman.me/W3TuLr. I'm trying to use wget on linux for this. All these URLs seem to be created using a ...
1
vote
2answers
301 views

SSH key for HTTP

Is it possible to set something up like SSH Keys for http traffic, so that a browser must have the matching key in order to access?
1
vote
1answer
1k views

How to figure out where a link gets redirected

I currently working on a script that updates a file. The file has several versions. The important ones have static links. These get redirected to the actual file which then gets downloaded using wget. ...
1
vote
3answers
372 views

Run a simple http server locally on a non-80 port

I have access to a Linux server with a non-root user. What I need is to run a simple, HTTP server that will not listen to port 80, but to a different port. I'm looking for the most easiest and ...
1
vote
1answer
627 views

Capture web traffic grouped by individual TCP streams

As far as I know a HTTP request and response constructs one TCP connection. To debug a web application on a GUI-less server, I'd like to be able to capture these TCP streams in a single ...
1
vote
1answer
672 views

Anyway to use HTTP Authentication with Axel Downloader?

Is there anyway to use http authentication with axel downloader? I don't want to use another solution such as aria2c because they don't support more than 16 concurrent connections.
1
vote
3answers
27 views

echo text after curl command on same line

#!/bin/bash echo "$(curl -s -I https://google.com|grep Server)" abc returns: abcer: gws and bash -x shows: ++ grep Server ++ curl -s -I https://google.com ' abco 'Server: gws abcer: gws but ...
1
vote
1answer
2k views

Redirect http using iptables for an ip range

I have a range of ip addresses (10.13.13.10-19) that I want to redirect all outgoing http traffic to an internal webserver. So if someone in that range tried to access any site, the html from my ...
1
vote
1answer
461 views

Download attachments in a URL redirect via Axel

Axel is not resolving URLs that redirect to another URL that has the file as an attachment. As you see, I'm getting 404 when I try to download this URL. (original site is replaced with example.com) ...
1
vote
1answer
23 views

logrotate every 2 hours

I'm trying to make httpry logs every 2 hours. I added this to my logrotate.conf file: /var/log/httpry/*.log { rotate 1 weekly create 640 root admin missingok notifempty } I ...
1
vote
1answer
41 views

Upload from shell to HTTP Server

I use scp command to upload file from my local computer to my ftp server is there any tools to do the same thing with http server (like Apache server ) like scp do ?
1
vote
1answer
84 views

Resolving DNS through HTTP/HTTPS

Is there a way to resolve DNS through HTTP/HTTPS, the case was: my ISP redirecting every DNS request to their own DNS and poisoning the DNS records. all I need is a software that could resolve ...
1
vote
1answer
464 views

curl timeout troubleshooting

I tried to curl popular websites e.g. curl google.com or curl google.com:80 and there is always a timeout error. Some troubleshooting steps performed: Able to curl localhost with response Able to ...
1
vote
1answer
98 views

Random lag on connection

when i try to connect to my friend's server, the connection seems randomly laggy, sometimes it's 50ms, 40ms, 60ms, but sometimes it tooks 1, 3 or 7 seconds time curl -vv 'http://ipaddress/foo.json' * ...
1
vote
1answer
2k views

How to redirect HTTP request to different local web servers

I have a Linux machine and some applications are running web interfaces. I'd like to create a web server, opened to the Internet, in order to access these local web interfaces (or web interface on ...
1
vote
1answer
598 views

Port 80 refused by Linux (Ubunt 12.04)

I am having an issue I cannot seem to resolve. I am being refused only on port 80. However port 8080, and 22 (Tomcat and ssh) are available. I am pretty sure this is not an Apache thing, however I ...
1
vote
1answer
552 views

How to log all domains accessed?

Maybe I could use tcpdump, filter out all non-HTTP packets to reduce disk consumption, and then parse the output looking for domain names. Maybe there is a better solution. Do you know one?
1
vote
2answers
392 views

Simple feed aggregation server

I’m looking for a program that runs as daemon, downloads Atom and RSS feeds at least every minute, and provides a paginated Atom feed of all entries of all feeds through a simple HTTP server. It ...
1
vote
1answer
469 views

Need command-line program to download all of http:// https:// scp:// ftp:// style links (on e.g. ubuntu)

I'm writing a perl program where I want to accept all kinds of "file names" from the user, including /home/foo/bar.txt and scp://server/some/file.txt or whatever. And then I thought that if I can find ...
1
vote
1answer
325 views

“Conflicting versions” error while running eggdrop

I'm getting this error while running the eggdrop bot, while loading the http.tcl script: conflicting versions provided for package "http": 2.7.5, then 2.5.2 How do I fix this?
1
vote
1answer
129 views

Reroute one URL

I am looking to reroute one particular URL to another, for example : http://website.com/page1.html to http://website.com/page2.html on a third party server only on my machine. But I still want it to ...
1
vote
1answer
38 views

Redirect outbound traffic on LAN going to port 443 to port 80 or 8080 instead

How would I achieve this, I've tried using iptables a bit but have had no success at all. Any help at all would be appreciated. I basically just want it so that whenever a user on my LAN attempts to ...
1
vote
0answers
54 views

Bash CGI script won't run [closed]

I have made a webpage to control the GPIO pins of my raspberry pi to control a rc car. I use cgi scripts written in bash. I can let the car drive forwards with this script: #!/bin/bash gpio -g write ...
1
vote
1answer
88 views

get original creation date of html file

Can I find the creation/last modified date of an html file? For example, I would like to know when some index.html file from some website was created, not when I downloaded it.
1
vote
1answer
103 views

How to get the http dump of a website and the header both from a single curl command?

I have to fetch a website (multiple redirections possible using -L) and save the html content in a file named as [HTTP_Status_code]_[Website_name].html Currently I am using two curl calls one for the ...
1
vote
0answers
114 views

Grab http requests by lynx

I need to grab and debug all HTTP-requests and responds which i make from lynx or another text-based browser. How can i save all request url's, redirects, headers and page sources for analyze and ...
1
vote
0answers
64 views

Forcing broswers to use a different host and port when viewing websites over ssh-tunnels

I've setup an ssh tunnel to a network that has a website I need to view. However, when requesting the page my browsers sends the host localhost and url http://localhost:1234 in the HTTP headers. Is ...
1
vote
1answer
238 views

How to monitor outgoing http requests per user?

I'd like to know how to monitor users' outgoing http requests. I've got a FreeBSD 8.1 server, and I would like to get an output like this for http requests: source MAC address or IP address → ...
1
vote
1answer
56 views

Visualization tools for REST-based services

Let's say there is a cluster/set of processes that communicate via REST/HTTP (that could describe a whole lot of products these days). What's a good and simple way to view the communication among them ...
1
vote
1answer
494 views

mplayer not sending the correct user-agent

I am trying to play a stream through mplayer. Here is the command I execute: mplayer -user-agent "PS4 libhttp/1.60" -cache 8192 -v ffmpeg://http://the_stream_url.m3u8 The stream does not play due ...
1
vote
0answers
259 views

Multithread http downloader with webui

I looking for software similar to JDownloader or PyLoad. JD is pretty good but use heavy Java and for now have very weak web interface. PyLoad is awesome, include simple but powerful web-UI but ...
0
votes
2answers
1k views

Particular site is not working on Ubuntu 12.04

I surf net in Ubuntu 12.04. All the sites are working, except one site http://developer.android.com/. I don't know why. At the same time, the same url opens in Windows perfectly. So the site is up ...
0
votes
2answers
64 views

Simple http server from the command line that will always cause a timeout

Regarding the question Simple command line http server I would like to know, what is the simplest method for creating a http server listening on a specified port that will always cause timeout (it ...
0
votes
2answers
668 views

Simple server that triggers script and responds

I need to have a very simple server running that can: Take rest call. It triggers a script when a call is made The script checks if database is running or not. If running then reply back to client ...
0
votes
3answers
2k views

wget is returning an html page instead of original file

In my case the problem is with SourceForge.net. Actually I was trying to download these files: http://sourceforge.net/projects/wxpython/files/wxPython/2.9.4.0/wxPython-src-2.9.4.0.tar.bz2/download ...
0
votes
2answers
146 views

HTTP Downloader that supports directory index? So that I could use globbing?

Is there an http downloader that supports globbing? i.e. I would like to fetch the latest update of a package, abc-XXX.rpm, but the XXX (version number) is unknown to me. Is it possible to do a ...
0
votes
2answers
667 views

How do I set different directories for different domains on CentOS 5.5 server?

I'm running a CentOs 5.5 server and wanted to know what commands I needed to run to be able to do the following; I have 3 domains on the server - example1.com, example2.com, example3.com I wanted ...
0
votes
3answers
1k views

How to get info about given webserver FAST?

$ time nmap -q -sV -P0 -p80 google.com | fgrep '80/tcp open' 80/tcp open http Google httpd 2.0 (GFE) real 0m6.563s user 0m0.280s sys 0m0.016s $ Are there any faster methods to get info ...
0
votes
1answer
59 views

Using curl with xargs connection hanging sometimes - any way to retry?

echo $LIST | xargs -I{} -n 1 -P 8 sh -c 'curl -o backup.dump http://url.com' I am running this for a large amount of files (around 300). After a while, sometimes curl hangs and won't progress for a ...
0
votes
1answer
20 views

Apache ReverseProxy ssl

I have the following ReverseProxy set up which works for http requests: NameVirtualHost *:80 <VirtualHost *:80> ServerName sub.domain.com ProxyRequests Off ProxyVia Off <Proxy *> Order ...
0
votes
1answer
2k views

Nagios misinterpreting Http response!

I've installed Nagios 4.0.1 on my CentOS 6.5 server. Since I'd set up Node.js to use port 80, I configured the Apache (httpd) service to listen to port 3000 instead. I can open Nagios console and ...
0
votes
1answer
1k views

How to Install all the default packages by group Using the Local YUM repo

I created a Local HTTP YUM repo. I can install the individual packages. But is there a way to install packages in the available groups? When I tried to install using groups, it give me this message: ...
0
votes
0answers
22 views

Aria2 download html page

I'm trying to download a video using aria2, but it download the html page of the link instead the video. I've also tried the link from browser and I can download it normally. Why?
0
votes
0answers
47 views

why do I have so many open socket handlers and netstat DGRAM entries?

I run on a RPi (Raspbian 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l GNU/Linux) a daemon in Python 2.7.8 which queries various APIs via requests and provides itself an API for another ...
0
votes
0answers
146 views

Best way to transparently redirect traffic to proxy

I've implemented a wireless router using hostapd on Debian Wheezy running on a Banana-PI. To access the internet, this router is attached to another network that I haven't any control of via ethernet. ...