httpd is a typical process name of a web server.

learn more… | top users | synonyms

78
votes
2answers
24k views

How do I select which Apache MPM to use?

I'm a little confused between the different MPMs offered by Apache - 'worker', 'event', 'prefork', etc. What are the major differences between them, and how can I decide which one will be best for a ...
8
votes
2answers
14k views

MaxClients in apache. How to know the size of my proccess?

From http://httpd.apache.org/docs/2.2/misc/perf-tuning.html The single biggest hardware issue affecting webserver performance is RAM. A webserver should never ever have to swap, as swapping ...
3
votes
1answer
2k views

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

Yum doesn't update httpd past version 2.2.3 on centos

I have a fresh CentOS vps (CentOS release 5.4 (Final)), and yum installs Apache/httpd version 2.2.3 but 2.2.14 is the latest release. Why doesn't yum install more recent updates?
2
votes
5answers
3k views

httpd dead but subsys locked

I modified today max_execution_time in php.ini, when I restarted the server, I get this error : Stopping httpd: [FAILED] Starting httpd: (98)Address already ...
1
vote
2answers
1k views

Logrotate configuration for httpd (CentOS)

I'm running Apache 2.2.3 on CentOS 5.5 and just noticed the following logrotate postrotate configuration in /etc/logrotate.d/httpd: postrotate /sbin/service httpd reload > /dev/null 2>/dev/null ...
-1
votes
3answers
219 views

Script to restart httpd if crashed

With heavy trafic, it happen that's my HTTP service crash on my dedicated server. Then, I have to restart httpd service manually. I just search for a shell script that's detect if HTTP service is OK ...
12
votes
3answers
2k views

Can you determine which Apache modules have been used and can be removed?

I, like many people, have a relatively out-of-the-box Apache installation with a lot of default "LoadModule" lines. Since the beginning, I've installed a lot of software, and to be honest, I don't ...
10
votes
2answers
4k views

HowTo redirect HTTP to HTTPS on the same httpd?

Here is what I have got: CentOS 5.4 (32-bit) installed Apache httpd (Server version: Apache/2.2.11 (Unix)) mod_rewrite already presents Question: how to redirect simple http://site.com to ...
6
votes
5answers
4k views

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 ...
2
votes
5answers
3k 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: ...
0
votes
2answers
832 views

Apache and Memory issues

I run a little startup on a Cloud server with 512MB and monitor the CPU/memory consumption with htop and phpsysinfo. Once, the server has ran out of RAM and on some instance get as high as consuming ...
3
votes
2answers
856 views

Apache / httpd not starting automatically on boot

I have apache2 installed on Amazon Linux AMI release 2012.03. I'm able to start it manually just fine, without any errors using /etc/init.d/httpd start. However, it doesn't start automatically when ...
2
votes
1answer
135 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 ...
1
vote
3answers
7k 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, ...
0
votes
3answers
96 views

Reporting Penetration Attempts to My Server

I need a log file of penetration attempts to my server. Ideally, this log should contain all attempts including logins, HTTPD activities, FTP activities, NFS, and other conventional open ports. ...
0
votes
1answer
180 views

Apache unknown request from unknown user

I was looking at my homemade server running apache 2.2.10 on it and this is what I saw: **.**.**.** - - [10/Nov/2010:07:05:14 +0200] ">\x03\xb6@\x1b\xbdg\x9e\xe9a)\x1a\xd8\x10U\x0f ...
5
votes
3answers
3k views

httpready problem on Apache httpd restart on FreeBSD?

I run Apache HTTPD 2.2 on my FreeBSD 7.2 webserver. I have enabled the httpready and dataready in my /boot/loader.conf, like this: accf_http_load="YES" accf_data_load="YES" That works great when ...
4
votes
3answers
7k views

Failed to enable the 'dataready' Accept Filter

I'm not sure why, but I'm getting this warning when I start my apache... su-3.2# /usr/local/apache2/bin/apachectl start [Wed Sep 23 13:40:42 2009] [warn] (2)No such file or directory: Failed to ...
3
votes
1answer
1k views

why isn't laravel's php artisan serve server being accessible from the WWW on IIS

I have a laravel application running through the laravel artisan server: php artisan serve and it works just fine if I go on my localhost:8000.. Further, I added an inbound rule in the IIS server ...
3
votes
2answers
971 views

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 ...
2
votes
3answers
95 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
2answers
2k 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 ...
1
vote
1answer
326 views

Service httpd restart error

Why do i always get the error when ever i reset my httpd: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not ...
1
vote
1answer
2k views

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

Log - Server kernel: INFO: task httpd:000000 blocked for more than 120 seconds

Almost everyday my server is crashing due to hight server load, and even restarting apache or mysql can't solve the problem. I need to reboot the server to solve, or it crash again due to the high ...
1
vote
3answers
740 views

httpd.conf / VirtualHost configuration problem for blog.example.com

I have a site located at /var/www/html/ which works fine. I'm now trying to setup "blog.example.com" by adding the following entry in httpd.conf Setup1 <VirtualHost *:80> DocumentRoot ...
1
vote
2answers
5k views

Hosts file entries for multiple domains on VPS?

mydomain is the main domain (in Plesk, Media Temple MT VPS), and under that are several Wordpress sites, like mysite1.com, mysite2.com, etc. Problem is that I get lots of these errors in httpd's ...
1
vote
1answer
1k views

Apache spawning hundreds of processes and pushing up load averages

I run a site with about 100,000 visits a day and lately the load averages sometimes hit the roof (250+). They are normally about 0.5-1.5, so I assumed a (d)dos attack. The number of apache processes ...
0
votes
1answer
335 views

CentOS 6 Httpd failed to start

I am using CentOS 6.5. The Apache HTTP server (httpd) is dead for an unknown reason. I cannot visit http://localhost/ anymore. When I tried to restart httpd, it failed (Error message shown below). ...
0
votes
1answer
628 views

Failed to restart Apache server

I'm trying to restart Apache through Plesk. When I click "Restart", i'm getting the following message. Error: Unable to make action: Unable to manage service by apache_control_adapter: Service ...
0
votes
1answer
187 views

Comprehensively List HTTP Requests (IPs, URLs, etc)

Is there there a way to show a list of apache/httpd processes with their pids and some information about the request? Like request url, any params, domain, internal/external IP address, etc. I've ...
0
votes
2answers
2k views

Apache httpd LDAP integration

I am configuring a CollabNet Subversion integration. I have the following collabnet_subversion.conf file: <Location /svn> DAV svn SVNParentPath /mnt/svn/new_repos SVNListParentPath on ...
0
votes
1answer
169 views

Apache blocking valid Allow from <ip> client

I am trying to block public access to apc.php file. Initially this configuration worked, now it doesn't. I know this is where the issue lies because when I comment out the ACL I can access the file ...
0
votes
2answers
89 views

Unable to get mod_rewrite to stop processing

This is linked to Rewriting subdomain.domain.com when other 'subdomains' exist I need mod_rewrite to 'stop' processing, but it seems to continue on. On my registrar, I've set A records as: ...
0
votes
1answer
172 views

Rewriting subdomain.domain.com when other 'subdomains' exist

My httpd.conf looks like this: NameVirtualHost 12.34.56.78:80 <VirtualHost 12.34.56.78:80> DocumentRoot /var/www/html/site ServerName www.example.com <IfModule mod_rewrite.c> ...
0
votes
2answers
272 views

Apache2: not defined domains directing to the same virtual host

I have Apache2 configured in a debian box with virtual hosts. I have several domains pointing to the box's IP address. The domains whose virtual hosts are configured works perfectly. But if I type in ...
0
votes
4answers
827 views

Getting a lot of hits on my web server and it's taking down my httpd. Possible DDoS? [duplicate]

I'm getting a lot of hits on my server. This server normally gets little to no traffic yet there's is constant hits every time I bring the server back up. I get the following error first ...
0
votes
1answer
155 views

httpd-2.2.17 ignores Directory, Location directives, doesn't output to access log

Very strange issue at work. I have a very basic Apache configuration. Has a DocumentRoot, <Directory ...> section within which there is an Options +Indexes directive that isn't being honoured ...
0
votes
4answers
213 views

Alias to twisted server content?

I have buildbot, using twisted, configured to run on port 8010. If I navigate to http://mysite.com:8010 I can access everything just fine. However, I want people to see the page at ...