httpd is a typical process name of a web server.

learn more… | top users | synonyms

3
votes
2answers
2k views

Why a SIGHUP signal to httpd kills the tomcat process?

I have a server with a tomcat process binding to port 80 and a httpd processes binding to port 5000. For some reason every time any process send a SIGHUP signal to httpd process my tomcat process ...
3
votes
1answer
485 views

Apache is not using SWAP and it's reporting page allocation failure

Check the logs: httpd: page allocation failure. order:4, mode:0xd0 Call Trace: [<ffffffff8000f696>] __alloc_pages+0x2ef/0x308 [<ffffffff80017a40>] cache_grow+0x139/0x3c7 ...
3
votes
2answers
42 views

httpd - virtual hosts go to the same website

here is my /etc/httpd/conf.d/test.conf NameVirtualHost *:80 <VirtualHost *:80> ServerName test.dev ServerAlias test.dev.*.xip.io DocumentRoot /var/www/html/user/test/web ...
2
votes
4answers
297 views

How can you obscure the fact that you are running Apache?

How can I make it appear as though I'm not running Apache? I figure the best way is to appear as though it is another type of httpd, like lighthttpd or iis. I know that by using mod_security you ...
2
votes
3answers
11k views

Add a directory to the Apache Web Root?

I'm running httpd on linux. I have a folder (/data/) that is not in the apache web directory (/var/www/html/) that I would like users to be able to access from their browser. I don't want to move ...
2
votes
2answers
381 views

Why are 9 httpd processes running when I autostart httpd on boot?

A pgrep httpd yeilds 9 pids: 1624 1651 1652 1653 1654 1655 1656 1657 1658 If I kill the httpd process with the first pid( here 1624 ) all the httpd process gets killed. Although if kill the ...
2
votes
5answers
3k views

I'm unable to symlink a directory into /var/www/html

I've read up on this subject at so many resources but I'm still struggling to get this right. Background: I'm using an Amazon EC2 instance with a LAMP setup I have this repo on bitbucket that has ...
2
votes
2answers
1k views

Grepping through the results of apachectl -S

I have a server with about 300 virtual hosts. When I want to make sure a specific httpd.conf file is loaded into the Virual Host config and the syntax is correct, I run apachectl -S. The problem is, ...
2
votes
3answers
491 views

Secure http transfer with ssh (tunnel)?

I have two servers which communicate over http. I wish this transfer be secure. How can this be achieved? I do not wish to use use https (that would require ssl certificate,right?) [SERVER-I] --> ...
2
votes
2answers
4k views

Why does apache log requests to GET http://www.google.com with code 200?

I was recently asked 'What causes a line like this in our access.log?' 59.56.109.181 - - [22/Feb/2010:16:03:35 -0800] "GET http://www.google.com/ HTTP/1.1" 200 295 "-" "Mozilla/5.0 (compatible; MSIE ...
2
votes
2answers
3k views

CentOS httpd running as both root and apache user

I have an Apache httpd server running on my CentOS server, but apparently it both runs a httpd-process as root and one as the apache user. See this screenshot of top: User and group are set to ...
2
votes
6answers
9k views

Can't get Apache 2.2.21 to compile with OpenSSL support

Alright -- having a bad couple days here compiling Apache 2.2.21 on CentOS 5.7 with the following configure commands: ./configure --enable-ssl=shared --with-ssl=/usr/local/openssl I've compiled ...
2
votes
3answers
1k views

What are the package dependencies for httpd? (rhel 5)

Our company uses home brewed repositories and a system to configure them, which is conveniently not working at the moment. This is causing a problem for me since I can't add repositories, and ...
2
votes
2answers
1k views

Apachectl Missing from Apache HTTPD Binary

I extracted the httpd...tar.gz from here, but I don't see apachectl. [vagrant@centos48 opt]$ ls httpd-2.2.23 httpd-2.2.23.tar.gz [vagrant@centos48 httpd-2.2.23]$ find . -name apachectl ...
2
votes
1answer
2k views

Apache MPM event in Apache 2.4+

For years I have been using the mpm-prefork module as it was my understanding that this was the preferred worker for Apache 2 and 1.3. Now I will be installing some fresh Apache servers and will be ...
2
votes
2answers
3k views

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 ...
2
votes
3answers
8k views

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 ...
2
votes
2answers
2k views

Mod Perl on RHEL 7

I for the life of me can not find the mod_perl package for RHEL 7. There is no package remotely called mod_perl, and google does not help. I am trying to get Redmine Git Hosting setup, but I need to ...
2
votes
3answers
193 views

Can i set 443 as default web port which means it can only be accessed via https and no port 80

As title says, I want to set my apache to listen on 443, and will configure SSL. So, My Question is :- 1). Does that mean, i will not have port 80 or any other port which is no ssl ? 2). My site ...
2
votes
1answer
2k views

Confused about DFOREGROUND with Apache

So I just installed Apache on a new CentOS 7 server, using Yum. I've installed Apache many times before, but never have I seen this: When I run ps aux now, it always shows /usr/sbin/httpd ...
2
votes
1answer
1k views

Why httpd graceful restart takes such a long time?

I am checking /usr/local/apache/logs/error_log This has happened several times. Sometimes server restart is fast sometimes it's slow. What factor could possibly contribute to this mess. [Mon Dec 31 ...
2
votes
2answers
724 views

CentOS Apache: basic auth returning 403 instead of 401

I have three dirs in /var/www/html, one of them has .htacces with following: Order Allow, Deny Allow from all AuthUserFile /var/www/.htpasswd AuthGroupFile /dev/null AuthName 'lalalal' AuthType Basic ...
2
votes
3answers
13k views

Restarting the httpd service in RHEL returns “Stopping httpd: [FAILED]” - How do I fix this?

This is my first indication of an issue: $ sudo /sbin/service httpd restart Stopping httpd: [FAILED] Starting httpd: no listening sockets available, ...
2
votes
1answer
920 views

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, ...
2
votes
1answer
396 views

How to configure SELinux to allow apache to run git

I have a CentOS 6 server and I'm trying to get the apache web server to run git pull in a directory. The php file is simply: <?php shellexec('cd /var/www/vhosts/domain;git pull'); However, ...
2
votes
1answer
5k views

Apache doesn't start: syntax error…DocumentRoot must be a directory

I read all the previous answer but I couldn't fix my problem.. I'm changing the server where my website is hosted and I'm setting again apache.. Now, after installing php, fail2ban, etc i have that ...
2
votes
1answer
56 views

centos yum repository package security information.. how do i find it?

Is there anywhere that shows which security updates are included in the patch levels for centos yum repository package version of httpd?
2
votes
1answer
1k views

Creating a public_html for a user on a Red Hat Linux Server

I'm just trying to make a public_html folder under my username on a Red Hat Linux Server (and it's all been a bit of a headache). I made the folder and set the permissions to 755. I wasn't sure how ...
2
votes
2answers
1k views

Setting permissions for mp4 and png files in .htaccess

First, I'm brand new to Apache .htaccess. I've got a server that must allow users to dive only into mp4 and png files. So, I've been reading Apache HTTP Server documentation and, according to what it ...
2
votes
1answer
2k views

centos 6 debuginfo repository does not have httpd debug version available

I am trying to get the debug version of httpd so I can use it in conjunction with gdb. I am having a hard time getting them, and they don't seem to be in the standard epel-debuginfo repository. What ...
2
votes
2answers
7k views

Why does apache httpd tell me that my name-based virtualhosts only works with SNI enabled browers (RFC 4366)

Why does apache give me this error message in my logs? Is it a false positive? [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) I ...
2
votes
3answers
3k views

httpd using hundreds of mb memory

I have a MediaTemple (dv) 4 server with 512mb running Apache 2.2.21 64-bit. Within 60 seconds of starting, httpd is spawning 2-4 processes, each consuming ~150mb of memory (according to top's 'RES' ...
2
votes
2answers
2k views

Missing mod_deflate.so?

I'm trying to build apache with mod_deflate enabled. When restarting apache I'm presented with the following error: httpd: Syntax error on line 36 of /usr/local/apache/conf/httpd.conf: Cannot load ...
2
votes
2answers
490 views

Apache: Access denied to /

I have disabled selinux with: setenforce 0 selinux=disabled in /etc/selinux/config Does anyone knows if i have to label or chcon any dir to solve that error: error [error] [client 127.0.0.1] ...
2
votes
1answer
5k views

selinux on RHEL6: httpd config. DocumentRoot [/path/does/exist] “does not exist”

I'm running a stock RHEL6 installation and have pointed my httpd DocumentRoot to /path/does/exist (it exists!). I've granted permission to the apache user and added what I thought should be the ...
2
votes
1answer
364 views

Apache: Allow directory browsing when using SVNParentPath?

I have the following setup: <Location /repos> DAV svn SVNParentPath /home/svn/repos AuthType Basic AuthName "SVN" AuthUserFile /home/svn/.htpasswd Order deny,allow Require ...
2
votes
3answers
4k views

Basic Apache httpd server setup becomes slow to serve images requiring frequent restart

I have an Apache httpd server running on RHEL 5.3. I'm using this server to serve static content (images) to for a website running on another httpd instance. In the public web directory are several ...
2
votes
2answers
6k views

“bash: setup:command not found” error on CentOS

I'm getting the folling error message when I try to use the 'setup' application on CentOS 5.5 to configure the Apache webserver. bash: setup: command not found However, when I tried to install it ...
2
votes
1answer
185 views

default name server behavior (named.conf configuration; Bind9)

Is it possible to configure named.conf to have a default behavior? For instance, if this is my named.conf ( https://gist.github.com/3c755018696e262ee4d9 ) & this is guubo.com.db ( ...
2
votes
1answer
732 views

Directory inside or outside VirtualHosts?

Is there a difference between putting Directory tags inside or outside VirtualHosts? I found a configuration file that has several VirtualHosts all with the same Directory tag inside, and the same ...
2
votes
2answers
104 views

httpd restart time

I want to know when the httpd server was restarted, how long it has been up etc. Thanks Jean
2
votes
2answers
326 views

dedicated apache httpd server configuration and performance tuning

I have the following dedicated box that I only install apache httpd server on, what parameters in httpd.conf should I tune to achieve max performance? cat /proc/cpuinfo shows 8 processors(only ...
2
votes
2answers
589 views

Animated HTTP request visualisation on Apache

This is more a question to appease my memory in trying to remember what it was I saw a while ago. I remember being introduced to a realtime server visualisation tool that showed the current requests ...
2
votes
1answer
686 views

Can't start httpd as root

Even when running httpd as root, I get this error: Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:100 (13)Permission denied: make_sock: could not bind to address ...
2
votes
5answers
4k views

Setting up https with a self-signed certificate on Apache

I'm trying to set up HTTPS on Apache, using a self-signed certificate. But instead of displaying the page, I get a bunch of weird errors. An a different error from each browser! From Chrome: ...
2
votes
1answer
1k views

Apache fails to start with new ssl certificate

I'm running RHEL 6.4 and my trusted certificate has expired recently, so I decided to renew it. I've obtained a new certificate from StartSSL. After downloading and putting the certificate file on the ...
2
votes
1answer
881 views

Running multiple Django projects within Apache, sys.path being over written

I have been trying to research how to do a multiple Python / Django deployment using Apache VirtualHosts. The issue I am encountering seems straight forward, ImportError: Could not import settings ...
2
votes
1answer
5k views

socket file descriptor (1063) is larger than FD_SETSIZE (1024), you probably need to rebuild Apache with a larger FD_SETSIZE

My Apache is throwing Internal Server Error 500 errors and logs like this: > [Sun Apr 07 23:35:24 2013] [error] [client 124.162.30.45] (2)No such > file or directory: FastCGI: failed to connect ...
2
votes
1answer
79 views

Temporarily stop everyone from accessing mysql DB

I am going to migrate a LAMP server tonight, it uses php and mysql with apache on centos. I want to stop people from accessing the site/database while I back it up. Will stopping httpd be a ...
2
votes
2answers
2k views

Httpd restart “Address already in use” error

I have an .rpm, which I created. In its %post part, I do some stuff, and in the end of this script, i call service httpd restart. It gives the following error: + service httpd restart Stopping httpd: ...