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
8
votes
4 answers

Set nginx.conf to deny all connections except to certain files or directories

I am trying to set up Nginx so that all connections to my numeric ip are denied, with the exception of a few arbitrary directories and files. So if someone goes to my IP, they are allowed to access the index.php file, and the phpmyadmin directory…
Ben
  • 237
  • 1
  • 2
  • 6
8
votes
1 answer

Is there a way to increase the maximum allow url length for incoming requests on Apache HTTPd?

I'm running a web services site on Apache HTTPd and every once in while I get an error indicating the incoming URL is too long (HTTPError: HTTP Error 414: Request-URI Too Large). My site is servicing programs rather than browser so I'm not worried…
Boaz
  • 2,229
  • 5
  • 20
  • 15
8
votes
2 answers

Error "not found or unable to stat" in apache logs, and difference in httpd.conf and site Document Roots

I get many of these errors each day in my apache error log: [error] [client 127.0.0.1] script '/var/www/html/wp-cron.php' not found or unable to stat and I'm wondering if it has something to with my httpd.conf, because my DocumentRoot is set as…
markratledge
  • 519
  • 5
  • 13
  • 26
8
votes
4 answers

SSL connection errors from Apache

I'm running a (self-signed) SSL cert site on Apache/2.2.14 on Ubuntu 10.04, but various browsers are giving errors on half the connection attempts. Just now saw this transient error from Chrome: "Error 126 (net::ERR_SSL_BAD_RECORD_MAC_ALERT):…
Yang
  • 1,665
  • 6
  • 21
  • 35
8
votes
5 answers

Apache uses 100% CPU. Can "ps" command tell me what it is doing?

I have a SLES 10 Linux server, and some times it is maxed out by Apache to 100% CPU. With ps ax can I see, that Apache have spawned ~50 Apache processes. Can e.g. the ps command tell me what each of these Apache processes are doing? Or perhaps some…
Sandra
  • 10,303
  • 38
  • 112
  • 165
8
votes
2 answers

SSL peer was unable to negotiate an acceptable set of security parameters

I followed section 1B of this guide to create a certificate and sign it on my own and set up Apache to use that certificate, but whenever I try to view my website securely, Firefox spits out this error: Secure Connection Failed An error occurred…
animuson
  • 279
  • 1
  • 6
  • 20
8
votes
3 answers

Running out of swap space on web servers, what to do?

I have 2 LAMP web servers that are routinely running out of swap space (see attached top screenshot). Apache's settings are as follows: StartServers 64 MinSpareServers 64 MaxSpareServers 128 ServerLimit …
mmattax
  • 1,304
  • 7
  • 19
  • 30
7
votes
1 answer

Renew letsencrypt certificate on Apache httpd

I'm using certbot --webroot plugin and certbot renew to renew the certificate, which does work, but it looks like httpd is caching the certificate and does not "see" that it's been updated. Is there a signal for httpd to reload the…
rustyx
  • 1,676
  • 3
  • 21
  • 30
7
votes
1 answer

How to configure Apache "workers" for maximum concurrency

Hoping this is a good question and can be useful for anyone in a similar situation. I recently took over from a very senior Linux administrator in my company, and for the first time I've had to set up a new server to serve our content to our…
Sean W.
  • 85
  • 1
  • 1
  • 6
7
votes
1 answer

Apache shuts down unintentionally

I must say that I am not the guy that set up the server, but the poor sap tasked with finding out what is happening for the time being. I only have a rough knowledge about apache and linux, so please bear with me... The Problem An apache server of…
F.P
  • 153
  • 4
  • 15
7
votes
1 answer

How to run HTTPD as specific user(s) and not by nobody?

Currently, top shows me that almost all httpd processes are run by nobody. "Almost" because 2 of them are run by root. How can i make it in such a way that given i have users say: dartagnan, porthos, aramis, athos run httpd each separately as said…
Jiego Cordoviz
  • 71
  • 1
  • 1
  • 3
7
votes
2 answers

httpd service will not start on boot under CentOS 6

I am having trouble configuring a CentOS 6 Vagrant setup to start the Apache service on boot. I have tried using chkconfig and the OS seems to just ignore it. When I run sudo chkconfig --list httpd, I get httpd 0:off 1:off 2:on 3:on…
Zac Crites
  • 211
  • 2
  • 7
7
votes
2 answers

Can't make httpd use correct SSL

I have a signed CA, issued by my university. I generated my CSR using their public key file as so: openssl genrsa -out myservername.key 2048 (new key) openssl req -new -key myservername.key -out myservername.csr I sent them the CSR, they sent me…
7
votes
4 answers

SSL Library Error: 218570875 error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long

I am trying to install SSL certificate from a certificate authority into my httpd server in CentOS 5.x. When I configure it and start the server I am getting the following errors, [error]Init: Unable to read server certificate from file…
Abhishek
  • 403
  • 2
  • 6
  • 8
7
votes
1 answer

Issues with ProxyPass and ProxyPassReverse when proxying to localhost and a different TCP port

I am attempting to use ProxyPass and ProxyPassReverse to proxy requests through Apache to another server instance that is bound to the localhost on a different TCP port that the Vhost exists (VHost is bound to :80, when the target is bound to…
brandeded
  • 1,845
  • 8
  • 32
  • 50