-1
votes
0answers
10 views

Puma HTTP server stats

I use puma.io HTTP server and I use server events (SSE, EventSource) for live updates. How can I display: the number of opened HTTP connections the number of SSE connections the number of puma ...
0
votes
1answer
39 views

Add my User to www-data group on fedora? [duplicate]

So I am setting up a localhost for web development on my Fedora 20 desktop. I have installed httpd and so forth... The issue I have is adding my user to the /var/www and to /var/www/html. I looked ...
0
votes
1answer
31 views

Nginx dropping events with connection refused after accepting few connection

I have setup with nginx as loadbalancer and python application running on nodes behind loadbalancers. We collect events from one of the busy mobile sites, it sends a event connecting to our api ...
-3
votes
1answer
45 views

http daemon not responding

If I run a php file at the command prompt, it works as expected. But it does not load from browser. # php /var/www/html/adminer.php When I try to access the same file from browser, I get an error: ...
0
votes
3answers
36 views

why wget doesn't read HTTP_PROXY in uppercase format?

In unix/linux i know the eviroments variables are uppercase, like LD_LIBRARY_PATH ; HOME ; $USER and so on, today playing with wget i saw this commands just uses lowercase enviroment variables env | ...
0
votes
1answer
29 views

some outgoing http connections fail

After a recent reboot, my server is unable to connect via http, but not all the time. I have an accept rule for port 80, here is my iptables: Chain INPUT (policy ACCEPT) target prot opt source ...
0
votes
1answer
87 views

monit: can't connect to the http interface

I'm setting up monit on a new site, which i'll refer to as mywebsite.com during this question. I've set up the config to access monit's web interface page, but i can't connect to it. I've got a ...
0
votes
3answers
84 views

HTTPS and HTTP issue on server with SSL

I have a site www.example.com for which i purchased SSL cert and installed. And it was working fine, I also have a subdomain with app.example.com which was not on SSL. Both www.example.com and ...
1
vote
1answer
125 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
1answer
77 views

How to print out all request headers of HTTP requests on the server side?

I have a HAProxy configuration which balances requests to many servers. I want to compare the outgoing request headers when requests go thru HAProxy to the ones I would make directly to my servers. ...
0
votes
1answer
232 views

Mod_cache is not logging or caching

Apache 2.2 on RedHat 6.3. I have a virtual host that is setup like so: <VirtualHost xxx.xxx.xxx.xxx:80> ServerAdmin some@email.com DocumentRoot /home/xxxxx/Sites/xxxxxxx.com/htdocs ServerName ...
0
votes
0answers
95 views

Apache intermittently aborting http requests

I am having the exact same problem as this old listing, which was never solved. Apache intermittently aborting requests if you go to the site below (all the sites on the server are having the same ...
1
vote
1answer
522 views

Zabbix monitor http service with simple check

How can I add trigger, or to be correct .. how should trigger look like, for net.tcp.service[http,80] so it would sound alarm if http is down longer than minute or two. I know that I can set ...
0
votes
1answer
52 views

How do I turn on port forwarding with Ubuntu?

$ssh -f -N -D 0.0.0.0:80 localhost Permission denied (publickey). I don't have anything in my ~/.ssh directory. I'm logged in as root.
1
vote
1answer
27 views

Add logging to HTTP server on runtime

Sometimes we have an HTTP server running where you can see that it starts to act out. Without restarting it I want to start to log all HTTP requests. Are there any tools that allows you to add some ...
1
vote
2answers
550 views

Wireshark does not capture HTTP on 8080

I am running Wireshark on my linux machine and i have simple python web server running on localhost:8080 I am capturing only local port 8080. When i open browser on localhost:8080 wireshark captures ...
0
votes
1answer
350 views

All HTTP connections refused from public IP yet all others are fine?

I wasn't sure how to describe this problem in the title, so I'll give you a little background on it. I have a machine running Ubuntu 12.10 Server with Apache 2.2.22 (all packages at latest release ...
-2
votes
1answer
40 views

Apache not finding file from URL request

I'm trying to access a file from my localhost via http://localhost/profile-pics/default.jpg however apache keeps saying that the url doesn't exists 404. How can I configure apache to find my file? ...
6
votes
3answers
4k views

How to list Apache enabled modules?

Is there a command that list all enabled Apache modules?
-1
votes
1answer
31 views

WebServer plugin file

We have 6 servers under load balancer with 2 member cluster. I want to know if plugin-cfg.xml is used for servers on which httpd process is not running. The reason I am asking is I suspect on some of ...
0
votes
1answer
137 views

remove 404 errors from apache's master log file

Is there a way to prevent apache from filling up the log file with pointless error messages like 404's and only display real errors?
1
vote
1answer
97 views

varnish3.0.2 rewrite the url howto

I have lots directories which have the same image "_a.png",like these: /data/images/{a,b,c,d} Because this, the varnish cache multiple copies. Now I want to rewrite the urls to one,like this: if ...
0
votes
2answers
254 views

Making nginx withstand flood attacks

How can I make it stand stand against attacks better? Are their plugins. Looking for a way to RATE LIMIT and remain up and not slow down. My Setup: user nobody; # no need for more workers in the ...
0
votes
1answer
128 views

Side effects of using owasp mod_sec rules [closed]

I was looking at all the owasp rules for mod_security. How badly does it slow your loading time down if you use them all? What would be the recommended packages to use? I want to mostly block bad UA, ...
-1
votes
1answer
621 views

i keep getting a 403 forbidden permission error on my fedora server through my local network

Trying to view a javascript file (via http) on my server I get the following error: Forbidden You don't have permission to access /jquery-1.8.2.js on this server. Apache/2.2.22 (Fedora) Server at ...
0
votes
1answer
154 views

Large, high performance object or key/value store for HTTP serving on Linux

I have a service that serves images to end users at a very high rate using plain HTTP. The images vary between 4 and 64kbytes, and there are 1.300.000.000 of them in total. The dataset is about 30TiB ...
0
votes
0answers
206 views

curl XPUT returning HTTP 500 error message

I have added the following changes in nginx configuration. server { listen 8080; root /usr/share/nginx/www; client_body_temp_path /tmp/; dav_methods PUT DELETE MKCOL COPY MOVE; ...
1
vote
1answer
2k views

Enable gzip on Nginx

Yes, I know that there are a lot of other questions that seem exactly like this out there. I think I must've looked all of them. Twice. In desparation, I'm adding another in case my specific ...
0
votes
1answer
669 views

PHP Fatal error: Class 'PDO' not found

PHP Fatal error: Class 'PDO' not found in /home/bd/public_html/app/webroot/Cake/Model/Datasource/Database/Mysql.php on line 177 PHP INFO: PDO PDO support => enabled PDO drivers => sqlite, ...
1
vote
0answers
211 views

Varnish. Wrong outgoing IP?

I have the following: backend default { .host = "127.0.0.1"; .port = "8080"; } acl purge { "127.0.0.1"; } sub vcl_recv { #cloudflare remove req.http.X-Forwarded-For; if ...
0
votes
1answer
90 views

iptables trafic limitation not working properly with http

I'm using those rules to limit/stop port scan. iptables -A INPUT -p tcp -i eth0 -m state --state NEW -m recent --set iptables -A INPUT -p tcp -i eth0 -m state --state NEW -m recent --update --seconds ...
5
votes
3answers
517 views

HTTP (random?) connection timeout with Windows 7

Update: Reinstalled Windows 7 Installed Windows 8 Various Apache tweaks (AcceptFilter http none...) Installed Windows XP Some Wireshark log 1 0.000000000 HonHaiPr_0b:36:ae D-LinkIn_64:ca:28 ...
0
votes
1answer
77 views

VPS Server OS differences

I have two VPS servers. one of them is running Linux and the other is Windows one. I've uploaded same file to their public_html folders and could see them in my browser via static IP address of each ...
2
votes
1answer
41 views

Strategies physical server running multiple guests but having a single external IPv4

My hoster is - understandably - cutting down on IPv4 addresses offered with new servers so that the next time I re-locate my stuff to a new server I'll a huge number of IPv6 addresses, but only a ...
1
vote
1answer
204 views

Accessing request headers in a Squid redirector

I have a redirector enabled in my Squid config file as follows: url_rewrite_program /etc/squid/redirector.php I need to access the original HTTP request headers from within the redirector. I'm not ...
1
vote
3answers
264 views

Alternatives to apache flood?

I've used apache flood in the past for simulating http traffic but I find the whole build (autoconf, libxml2 and libexpat dependencies) and configuration infrastructure (XML) to be problematic. I'm ...
1
vote
1answer
198 views

How can I setup my local Nginx server so I can edit the files?

I have my local development machine running Arch Linux, Nginx, PHP-FPM and MySQL. In order for the websites I am working on to run the files need to be owned by the http user. The files are currently ...
1
vote
2answers
98 views

I want to get header response of a url using a proxy with a username, password, host and port?

I want to get header response of a URL by using proxy username, password, host and port? is there any Linux command to get the same response?
1
vote
1answer
255 views

iptables allow HTTP from anywhere, MySQL internally and lock SSH to a specific ip

Having trouble getting my head around iptables rules I need to: Allow HTTP traffic to 80 and 443 from anywhere Allow MySQL traffic 3306 internally Allow SSH access from a specific list of IP ...
2
votes
2answers
319 views

In Ubuntu, is there something I can run that checks the HTTP requests coming in?

I'm running Node.js. But for some reason, requests are not being caught by the server. (http://stackoverflow.com/questions/9247482/node-js-server-not-receiving-ajax-requests) Is there any way to ...
0
votes
1answer
295 views

curl cookie and cookiejar trouble

I've got a script that curls a site using a specific cookie value in a cookie file. When I run this on my local system, the server returns the same value to my cookie jar, as per my expectations. When ...
0
votes
1answer
638 views

User http does not have write permissions directory?

I have a bit of an odd set up, I think. I have groups for each domain my server hosts, and I add the user http to each domain group along with the users that should have access to the groups' domains. ...
0
votes
2answers
120 views

Why does ONLY MY server can't access another specific server files?

Here is the simplest action that works on my Ubuntu 11.10 laptop : $ wget mercurial.selenic.com/release/mercurial-2.0.1.tar.gz --2011-12-06 21:41:16-- ...
1
vote
2answers
208 views

serving logs via HTTP

Here is what i am trying to achieve: I have a few Linux servers that have my web App deployed on. Currently my development team access the web app, run their test cases and then SSH into my Linux ...
0
votes
6answers
3k views

Linux, simple http proxy

I have a linux server running in a data center that has some extra bandwidth and resources. I'd like to set up a proxy service so that I can route all my http/https traffic from home through it. I ...
1
vote
2answers
342 views

CURL - saving multiple HTTP responses

I've learned that we can send multiple HTTP requests with CURL by doing this: curl -I http://linuxbyexample.co.nr http://lne.blogdns.com/lbe or this: xargs curl -I < url-list.txt How can we ...
0
votes
3answers
303 views

using curl to trigger a notification over http e.g. when a long running task has completed?

Today I left work with a long running task running in the shell. For the sake of argument let's say I'm using 'wc -l' to count lines in a huge file. I'd like to get a notification when it is done, but ...
7
votes
2answers
2k views

How can I take advantage of IW10 in kernel 2.6.33?

I've read that 2.6.33+ allows setting custom cwnd. if the IW is 10 by default (for all distros? only some?) how does one view what the current IW is on a particular compiled kernel? references: ...
0
votes
1answer
508 views

Forward non HTTP traffic on port 80

I'm creating an Android application that uses MQTT protocol to send real time messages, however the local firewall is strict and blocks most ports so the android app can not connect. (Server is ...
2
votes
2answers
4k views

How to debug “HTTP request sent, awaiting response”?

I have a Linux server on an ADSL connection, and I just noticed that sometimes I get Connecting to example.com|xxx.xxx.xxx.122|:80... connected. HTTP request sent, awaiting response... when I use ...