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
5
votes
2 answers

apache/httpd responds slower under EL6.1 than EL5.6 (CentOS)

I've read through other threads on performance differences between RHEL 6 and RHEL 5, but none seem a tight match to mine. My issue manifests itself in slightly slower average response time (20ms) per request. I have about 10/10 servers of the same…
daniel
  • 51
  • 1
5
votes
1 answer

How to allow Active Directory authenticated users use Nagios web interface?

I have put .htaccess files in the Nagios html root and CGI root directories, so in order to get access to the web interface, the users needs a valid Active Directory account. The problem I have is in /etc/nagios/cgi.cfg which…
Sandra
  • 10,303
  • 38
  • 112
  • 165
5
votes
4 answers

How to prevent bots from trying to guess a link on my site

My logwatch report which I installed recently shows me this: --------------------- httpd Begin ------------------------ 0.78 MB transferred in 5864 responses (1xx 0, 2xx 4900, 3xx 0, 4xx 964, 5xx 0) 160 Images (0.16 MB), 857 Content pages (0.62…
Nikola
  • 847
  • 4
  • 13
  • 22
5
votes
5 answers

How should I deal with logs before they get to big?

I found out my disk was full today, and I freed up 10% just from deleting mostly logs from multiple websites. I, personally, like to keep logs as an archive, because I may need to look back on them for whatever reason. I'm new to administrating my…
Strawberry
  • 1,132
  • 4
  • 15
  • 27
5
votes
4 answers

Too many httpd processes running and CentOS server freeze

I am running a high traffic website on a Dedicated-Virtual 16GB RAM CentOS server hosted by Media Temple. Very often the server dies because of high CPU usage (%1500) When i check the running processes using "top" command i see a too many httpd…
sunn
5
votes
1 answer

Trailing slash on Directory directive in httpd

Is there any difference between these configurations: ..... and .....
Majid Azimi
  • 547
  • 1
  • 13
  • 29
5
votes
3 answers

Why do people put empty index.html files into web directories?

I see that quite often other people's web-site directories have empty html index files (1 file per dir). AFAIK - that's been done to prevent website users from seeing directory content - right? I usually disable indexing in httpd.conf…
Stann
  • 523
  • 2
  • 7
  • 16
5
votes
5 answers

httpd (no pid file) not running while restarting apache

I am working on ubuntu. I got the error messages while try to restart apache. root@XXX:/etc/init.d# sudo /etc/init.d/apache2 restart * Restarting web server apache2 …
user59503
  • 51
  • 1
  • 1
  • 3
4
votes
2 answers

How to debug an Apache 404?

Every single time I set up a new httpd installation, I struggle with the initial  VirtualHost / mod_proxy_fcgi / etc. configuration. When I set up my virtual hosts and get a 404, I always turn to the logs, only to find: access_log: ::1 - -…
BenMorel
  • 4,507
  • 10
  • 57
  • 85
4
votes
1 answer

Docker httpd & htaccess - Could not open password file

I have an error that I can't resolve, even with my last researches. Folder structure: -rw-r--r-- 1 root root 105 Aug 8 15:58 Dockerfile -rw-r--r-- 1 root root 21371 Aug 8 16:05 my-httpd.conf drwxr-xr-x 2 root root 4096 Aug 8 15:37 www 1 - I…
Quentin Rey
  • 63
  • 2
  • 8
4
votes
2 answers

apache CustomLog with multiple env?

I have 2 CustomLog statements: # SVN-ACTION is default env CustomLog logs/svn_access_log common env=SVN-ACTION SetEnvIf Request_Method GET GET-ACTION CustomLog logs/get_access_log common env=GET-ACTION That works, but the CustomLog statement below…
Somputer
  • 141
  • 1
  • 2
4
votes
1 answer

The connection was reset

I recently setup a subdomain on my clients web server. Here is the vhost setup: Listen *:80 #primary domain # rails public folder DocumentRoot /u1/thisdomain.com/public ServerName thisdomain.com RailsEnv…
Jake Wilson
  • 8,814
  • 29
  • 97
  • 125
4
votes
2 answers

gzip on httpd or on Tomcat?

In a Java web application running in an Apache Tomcat servlet container with an Apache httpd in front of it: is it better to use enable GZIP compression on Tomcat or on httpd level? is it better to have SSL enabled in Tomcat or on…
mhaller
  • 273
  • 2
  • 7
4
votes
1 answer

CentOs 7: http won't start at boot if it listens to a specific IP address

I have this in my httpd.conf: Listen 216.XX.YY.ZZZZ:80 Just to make sure, I made sure httpd is enabled at boot: systemctl httpd enable When the system boots, I have: systemctl status httpd ● httpd.service - The Apache HTTP Server Loaded:…
Merc
  • 789
  • 1
  • 6
  • 16
4
votes
2 answers

Apache mod_proxy: redirection based on http header?

I was wondering if it is possible to direct http traffic to a specific back end server, based on an http request header value. The 'referer' http header value for exemple. I have 2 server instances. One for UAT (tests) and one for pre-production…
Dan
  • 41
  • 1
  • 1
  • 2