Questions tagged [httpd]

httpd is a typical process name of a web server.

httpd (for Hyper Text Transport Protocol Daemon) is a typical name of the web server process.

Apache is the most popular web server that runs using this process name. It is also the name given to the new default server for OpenBSD 5.7 and on.

1448 questions
3
votes
1 answer

Apache mod_deflate only for files larger than 1000 bytes

Is it possible to use mod_deflate in Apache 2.2 only for files bigger than a certain size ? According to this article and common sense only files over 1000 bytes benefit deflate/gzip.
Dragos
  • 369
  • 1
  • 2
  • 11
3
votes
2 answers

Apache not working on external IP on CentOS

I have a newly installed CentOS 5.6 machine and can access httpd locally via elinks. But it does not work from other IPs. I can ping the IP, but I get no route to host if I connect to port 80. I assume some firewall rules is preventing access to…
Nina Sonbolian
  • 109
  • 2
  • 8
3
votes
2 answers

Apache running but no response from server?

I've got a fresh Fedora 15 installation on my server that's been giving me trouble. My first problem was that httpd wouldn't start. I kept getting an error that there was a segfault and the sysadmin eventually traced it back to a problem with…
TreyK
  • 205
  • 1
  • 2
  • 5
3
votes
2 answers

nginx: multiple document roots with fastcgi

When using a single document root in my http directive, everything works fine. However, I want to add a location directive with an additional directive and I can't get fastcgi to work with this additional root (I receive a white page when accessing…
tman
  • 33
  • 1
  • 1
  • 4
3
votes
2 answers

How do I find out who is making a lot of requests to the server?

I am running Apache server and would like to find out who (IP address) is making a lot of request for the last 24 hours using command line. Also like to find out who has the most open connection at the moment?
user965363
  • 743
  • 2
  • 6
  • 11
3
votes
1 answer

Disable SELinux file read protection for httpd

I am using RHEL 6.1 and I would like to configure SELinux to authorize httpd to read all files in some folders (My goal is to make log files available via web access). Is this possible without listing explicitely all files ? Is this possible…
Denis R.
  • 293
  • 1
  • 2
  • 6
3
votes
2 answers

Apache taking up too much CPU

I'm trying to manage a server on Amazon for a network of sites that receives about 100 million pageviews per month. Unfortunately, nobody out of my team of 5 developers has much server admin experience. Right now we have the MaxClients set to 1400.…
andrewtweber
  • 449
  • 1
  • 10
  • 18
3
votes
0 answers

Enabling mod_wsgi with SELinux (Is there a way?)

I recently had a bit of problem when recently by Deploying Django with mod_wsgi due to SELinux. Usually world get a "Permission denied" error (403). This was solved by disabling SELinux. Is there a way to use mod_wsgi while SELinux is enabled? Now…
Shehzad009
  • 147
  • 1
  • 2
  • 6
3
votes
1 answer

High server load at some times, without explanation!

I don'y know what is going on. My dedicated server runs Cent OS 5.6 x86_64. It has been running for over a year pretty well. I also never had any disk failure. (Or I have never knew about any disk failure). The disks are in RAID, so, i'm not sure,…
valter
  • 699
  • 5
  • 13
  • 23
3
votes
1 answer

httpd.conf match absolute file

I have the following directory statement in my httpd.conf for a virtualhost. # something file specific This matches "c:/foo/bar/ * / * /baz/index.php" but also…
3
votes
2 answers

Apache deny from CIDR range but allow from IP within that range

I am using a long CIDR blacklist to block several countries from a site, but I need to allow specific IP addresses within the blocked CIDR ranges. Here's an excerpt of my conf file (this is the order that I am currently trying, though I have tried…
Chase
  • 33
  • 1
  • 3
3
votes
2 answers

Run cgi-script on commandline as user www?

I'm running FreeBSD 7 and apache-2.2.13. I am trying to debug a cgi script at http://www.example.org/cgi-bin/printenv . This script is a simple script written in Bourne shell. I would like to run this script from the unix commandline, as user…
Stefan Lasiewski
  • 23,667
  • 41
  • 132
  • 186
3
votes
2 answers

httpd restart time

I want to know when the httpd server was restarted, how long it has been up etc. Thanks Jean
Jean
  • 261
  • 1
  • 7
  • 15
3
votes
3 answers

Apache getting hammered by nonsense requests, how to stop?

My VPS is getting hammered with attempts on random files/directories that don't exist on my server, in the order of roughly twice every second. Presumably it's just a bot trying to figure out whether there's any security holes in scripts on my…
WheresWardy
  • 41
  • 1
  • 5
3
votes
1 answer

Configuring HTTPD behind Varnish on a 512mb VPS

I am hosting a website for a client on a dedicated VPS that has 512mb of RAM. Within the last 2 weeks, it has hosed up twice due to 0% free memory (or free swap). The site is pretty database intensive, as it's running Drupal with 60+ modules. It…
David W
  • 3,453
  • 5
  • 36
  • 62