httpd is a typical process name of a web server.

learn more… | top users | synonyms

3
votes
1answer
263 views

Can I view the resolved config Apache is using?

Is there a way to view the final "effective" config a running Apache instance is using after resolving any/all includes and the like? I'm looking at a config that has a web of includes and suspect ...
3
votes
1answer
8k 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 ...
3
votes
2answers
2k views

How to prevent cpanel from doing graceful restart every time an add on domain is added [closed]

I want to add 300-400 add on domains and wild card subdomains. Every time I add an add on domain, cpanel does a graceful restart. The result is the whole server is down for 5-10minutes. If I did: ...
3
votes
2answers
829 views

Apache mod_spdy - Enable/Disable per Virtualhost

As the title suggests, i'm looking at mod_spdy and wondering if i can only enable it on certain VirtualHosts in apache, or if it's an 'all or nothing' kind of thing like PHP.
3
votes
1answer
3k views

what exactly rebuildhttpdconf script do? [closed]

Recently I found there is lots of warnings in my VPS's httpd.conf There is a solution in this forum about rebuilding httpd.conf: # cd /usr/local/apache/conf # cp -p httpd.conf httpd.conf.old-bak # /...
3
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 /...
3
votes
2answers
3k 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 ...
3
votes
3answers
3k views

Apache getting hammered by nonsense requests, how to stop?

My VPS is getting hammered with attempts on random files/directories that don't exist on my server, in the order of roughly twice every second. Presumably it's just a bot trying to figure out whether ...
3
votes
1answer
76 views

Migrating from Apache 2.2 to 2.4, ssl.conf is ignored

I'm rolling out a test installation of EL7 with Apache 2.4. I copied my existing /etc/httpd/conf.d/ssl.conf to the new system, set up selinux, verified all the cert paths were kosher and systemctl ...
3
votes
2answers
2k views

Difference between httpd and httpd-devel package on CentOS 5

I'm trying to update PHP 5.1 to 5.3 on CentOS 5.10. On the server, httpd-devel is installed but trying to install php53 on CentOS 5, it wants to install httpd. This is a production server so I need ...
3
votes
1answer
1k views

List of SSL Cipher Support by Browser

Not really sure if this is the appropriate SE to post this to, but here it is: Is there some online reference for what SSL ciphers are supported by the various browsers? Basically, I'm interested in ...
3
votes
1answer
3k views

httpd, vsftpd and the annoying selinux

I have a CentOS 6.3 installed with httpd running and vsftpd but I am unable to balance permission between the user able to upload over ftp and their website working. What I do: I create a user with ...
3
votes
2answers
3k 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 ...
3
votes
1answer
4k views

Installed apache server , can't connect from outside (using CentOS in WMware )

I installed Apache in CentOS 5.5, after searching the web for tips on configuration I did the following to enable connecting the HTTP server from outside: In /etc/httpd/conf/httpd.conf I changed the ...
3
votes
1answer
743 views

Apache treating files with “.var[.]” in their names as type-maps

So today at work I ran into a strange problem. An application I was writing had a JavaScript file named form.sales.var.js, placed in the same directory as other JS files. However, when the browser ...
3
votes
2answers
2k views

Why does rhel/centos store apache conf files the way it does?

I've started administering a clutch of CentOS based webservers in a new job, and after a couple of years of using debian based linux servers, I've got fairly comfortable with the apache file structure ...
3
votes
2answers
161 views

FreeIPA without web UI or change of ports

Can I install FreeIPA server without httpd (without web UI)?? Or at least can I change the ports?? (80->8880 and 443->8443)
3
votes
1answer
3k views

SHA-2 signed SSL certificate crashes apache on startup on CentOS 5.X

In preparation of the warnings that are going to start showing up in browsers when visiting SSL sites with SHA1 signed certificates, I wanted to get all of the certs that I have upgraded. Some of ...
3
votes
1answer
301 views

Disable SELinux file read protection for httpd

I am using RHEL 6.1 and I would like to configure SELinux to authorize httpd to read all files in some folders (My goal is to make log files available via web access). Is this possible without ...
3
votes
1answer
526 views

High server load at some times, without explanation!

I don'y know what is going on. My dedicated server runs Cent OS 5.6 x86_64. It has been running for over a year pretty well. I also never had any disk failure. (Or I have never knew about any disk ...
3
votes
1answer
136 views

httpd.conf match absolute file

I have the following directory statement in my httpd.conf for a virtualhost. <Directory c:/foo/bar/*/*/baz> <Files index.php> # something file specific </Files> </...
3
votes
3answers
519 views

Any suggestions on emitting Apache HTTPd access logs to CouchDB?

I'm interested in sending Apache2 access logs directly to CouchDB or some other document storage system. Do you know of any Apache2 modules that do this, or what options there would be to write one ...
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
0answers
128 views

Apache 2.4 Redundant LDAP Authentication

I'm trying to provide a redundant LDAP authentication to my webserver. ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" <AuthnProviderAlias ldap ldap-one> AuthLDAPBindDN "search@domain" ...
3
votes
1answer
2k views

Trying to install php-devel on AWS EC2 server to compile a PHP extension, but getting errors “httpd24 conflicts with httpd-2.2.27-1.3.amzn1.x86_64”

I'm trying to install php-devel on an AWS EC2 server so I can compile a PHP extension. But I get an conflits error. --> Processing Conflict: httpd24-2.4.10-1.59.amzn1.x86_64 conflicts httpd < 2....
3
votes
2answers
137 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
310 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
17k 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
11k views

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 ...
2
votes
2answers
441 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
5k 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
3answers
543 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

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
12k 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
2answers
37k views

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 ...
2
votes
3answers
2k 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
2k 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 [vagrant@...
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
4k 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
12k 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
4k 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
3k views

mod_security: another rule with same ID

I have installed httpd 2.2.15 on CentOS 6.5 (minimal installation with no cPanel) with modsecurity 2.8. When I am starting httpd I am getting this error: Starting httpd: Syntax error on line 23 of /...
2
votes
3answers
255 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
609 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
2answers
467 views

How to set different mod_mime rules for reverse proxy?

By default, httpd contains the following configuration: <IfModule mime_module> # # TypesConfig points to the file containing the list of mappings from # filename extension to MIME-...
2
votes
2answers
940 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
2answers
5k views

How can I configure Apache to use more of my CPU?

Apache threads are stacking up on one of my web servers (300-500 simultaneous requests, some taking 3-8s to process!), but CPU usage is very low (~10%). Page load time is slowing way down as a result....
2
votes
1answer
1k 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
1answer
3k views

apache error and access logs are missing, what could be the cause and how can I recreate them?

I've been given a task to understand why 2 CentOS web servers running apache 2.2.3 are experiencing very high loads on specific occasions. The first thing I checked was /var/log/messages but then I ...
2
votes
1answer
59 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?