httpd is a typical process name of a web server.

learn more… | top users | synonyms

2
votes
2answers
362 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
2k 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
966 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
461 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
3k 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
2k 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
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
166 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
3answers
7k 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
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
660 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
11k 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
605 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
329 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
55 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
906 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
949 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
6k 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
1answer
882 views

Apache: require basic auth, except for specific POST requests

(RHEL 6.2, Apache 2.2.1) I'm trying to get a LAMP site running behind basic auth to prevent general access (it's a testing environment for a site still in production) and I've hit a problem where the ...
2
votes
2answers
466 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
341 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
3k 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
5k 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
179 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
560 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
103 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
319 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
558 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
681 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
793 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
4k 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
74 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
1k 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: ...
2
votes
2answers
2k views

Apache: how to set custom 401 error page and save original behaviour

I have Kerberos-based authentication with Apache/2.2.3 (Linux/SUSE). When user is trying to open some url, browser ask him about domain login and password like in HTTP Basic Auth. If user cancel such ...
2
votes
2answers
2k views

What is a good live request monitor for Apache httpd?

I have used SeeFusion to monitor ColdFusion requests. Is there a similar tool that would allow me to monitor Apache httpd requests in real time? We have a server that was fast and responsive for ...
2
votes
1answer
168 views

Apache HTTPD proxy - Deny directive ignored

I am running CentOS 5.5 with the stock Apache httpd-2.2.3. I want to set up a proxy server which will forward proxy requests from a single IP address (123.123.123.123 in the example below) and reject ...
2
votes
1answer
6k views

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

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

Apache many httpd process by my own server IP? eating all my Ram

Well i just bought a new dedicated server, I have no Linux experience, but i'm trying to learn. I have been testing the server for a few days. I improve the httpd.conf my.cnf for better performance, ...
2
votes
1answer
100 views

How to install mod_ssl with minimum effect on a running site

I just took over an old Apache httpd site that was maintained by somebody else. It's running httpd 2.2.2-1.3 on Fedora 5. I think the httpd was originally installed from an RPM. I was asked to enable ...