httpd is a typical process name of a web server.

learn more… | top users | synonyms

2
votes
2answers
521 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
8k 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
100 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
143 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
43 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
406 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
506 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
3k 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
2k 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
1k 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
661 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
421 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
306 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
1answer
170 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
2answers
99 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
314 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
496 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
663 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
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: ...
2
votes
1answer
382 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
1k views

Invalid command 'SSLEngine' Centos

I uninstalled Apache, and reinstalled it, and now when I try to start it I get the following error: Syntax error on line 94 of /usr/local/psa/admin/conf/generated/13636697550.95452800_server.include: ...
2
votes
1answer
71 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
894 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
1answer
2k views

what exactly rebuildhttpdconf script do?

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 # ...
2
votes
2answers
1k 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
150 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
5k 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
2answers
906 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
97 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 ...
2
votes
1answer
67 views

Is httpd / BIND required for a server running Gearman/Python?

We want to use a cloud server on an as required basis to to process some files. There's no requirement to serve Webpages and we don't need to allocate a domain name to it. The server will just need ...
2
votes
1answer
879 views

Server currently under DDOS, not sure what to do [duplicate]

My web server is currently under a DDOS attack I believe, the messages log is full of these kind of messages: May 13 15:51:19 kernel: nf_conntrack: table full, dropping packet. May 13 15:51:19 ...
2
votes
1answer
389 views

Proper steps for updating Apache conf on production server?

I usually: Update my local near-replica ( ServerName directive and Logs will obviously be different ) of the production conf file and make my changes for things like rewrite rules. ...
2
votes
2answers
503 views

Webbased Log Parser for mod_log_sql

Our frontend webservers are now logging all our weblogs into mySQL using mod_log_sql, freeing up thousands of "AccessLog" directives in our apache config (we're running between 600-900 virtual hosts ...
2
votes
2answers
168 views

Gitolite3 not writing

I am a bit at world's end here. I want to install gitolite3 smart http over apache. I can successfully pull, but not push (doesn't even give me any errors or notices, not even in any known log). I ...
2
votes
2answers
111 views

Httpd on Centos6 not listing directory contents

I have a folder (which is NOT the conventional /var/www/html folder!) /Server/Websites/Default on my Centos6.4 server. There is only one file, phpinfo.php (with the obvious code in it). Running ...
2
votes
1answer
960 views

Apache httpd processes and PHP out of memory

I have a VPS running apache-php-mysql on centos and a single drupal website installed. The VPS has 256MB of RAM (could be the root cause of all my problems... maybe I just need more). Whenever I try ...
2
votes
1answer
2k 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 ...
2
votes
3answers
909 views

decrypting AES files in an apache module?

I have a client with a security policy compliance requirement to encrypt certain files on disk. The obvious way to do this is with Device-mapper and an AES crypto module However the current system ...
2
votes
3answers
226 views

When to run apache httpd + tomcat?

What are the primary benefits of running apache httpd in front of tomcat? Are the benefits worth the extra setup and complexity?
2
votes
3answers
1k 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 ...
2
votes
1answer
143 views

How do you configure Apache on Kodingen?

I have a Kodingen account, and can create .htaccess files, which are processed - but how can I configure the httpd.conf?
2
votes
3answers
2k views

httpd keeps crashing without any reference to why in the logs

I have the logs set to debug in the hopes of tracking down what's causing the crash, but I can't find anything. Here is the error_log. [Thu Jan 06 10:27:35 2011] [debug] proxy_util.c(1967): ...
2
votes
1answer
458 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 ...
2
votes
1answer
825 views

Apache Name-based Virtual Hosts - configuring httpd.conf file

I am running a web app on Tomcat at the following location on my server. /var/tomcat/webapps/SoccerApp I am looking to update the Tomcat httpd.conf file with the following virtual host... ...
2
votes
1answer
331 views

Httpd / mysql consistently taking up 500% of CPU

We're on a VPS w/ CentOS 5 with cPanel + WHM 11 latest We started noticing last night that httpd and occasionally mysql keeps consistently peaking in the 500%'s of CPU usage, so much so that our host ...
2
votes
2answers
965 views

Apache httpd cluster logging

I have a cluster of Apache httpd servers. It's a load balanced cluster where all nodes serve the same, shared, content. The content itself is located on a shared storage. I would like to setup all ...
2
votes
1answer
104 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 ...