November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Apache: No listening sockets available, shutting down

One of the advantages of maintaing a popular project like XAMPP is the immense amount of community feedback you get. In other words: your inbox is a daily challenge. PHP 5.3 incompatibilities are hot topics these days. Here’s an Apache related one which hits my inbox on a very regular basis.

Variant 1

Apache complains […]

Installing Apache HTTP Server with a Quick-Start Config

The Apache HTTP Server has been the most popular web server on the Internet since April 1996 and is one of the most widely used open source software packages. In fact, the latest Netcraft Web Server Survey reports that more than half of all active web sites use Apache, making it more widely used than […]

Log Rotation Apache

I have installed apache 2.2 on RHEL 5.7. It is working over ssl connection. I want to use rotatelog feature provided by apache. My httpd.conf file for specifying logs location is as below :

ErrorLog “|/apps/apache/bin/rotatelogs /mnt/nfs4/logs/apache/error_log.%Y-%m-%d 10M” <IfModule log_config_module> LogFormat “%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”” combined LogFormat “%h %l %u […]

Remove comments and blank lines from configuration files using grep

grep -v ‘^#’ /etc/httpd/conf/httpd.conf | grep -v ‘^$’

Redirect to the file

grep -v ‘^#’ /etc/httpd/conf/httpd.conf | grep -v ‘^$’ > test

 

 

 

Apache prefork tuning.

Modular structure of apache is one of the reason for its global dominance among webservers.We have the flexibility to adding or droping modules.Before we deal with apache prefork MPM we need to have a basic idea about apache Multi Processing Modules,Multi processing Modules (MPM) are the multiple request (hundreds to kilos) handling ‘department’ of apache.We […]

Multi-Site Dynamic Apache Configurations

In a continuing effort to make my hosting cloud more dynamic, I have had to become relatively creative with my Apache configurations so that my farm can remain relatively flexible with little or no reconfiguration on newly introduced servers. This presents a big problem when working with a multi-site Apache configuration, and an even bigger […]

Static page on apache using tomcat

he apache main job of the partial pressure, static page as apache on processing, servlets, jsp page ajp13 protocol gave tomcat, tomcat to handle.

http://archive.apache.org/dist/http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.16/jakarta-tomcat-connectors-jk-1.2.6-src.tar.tar

# Tar xzvf jakarta-tomcat-connectors-jk-1.2.6-src.tar.tar

# Cd jakarta-tomcat-connectors-jk-1.2.6-src/jk/native

#. / Configure – with-apxs = / usr/local/apache2/bin/apxs

# Make

# Cp ./apache-2.0/mod_jk.so / usr/local/apache2/modules /

 

the workers.properties will generate jk / […]

Recompile Apache 2.4.2 and Apache 2.2.22

How to Install Apache 2.4.2 from Source on CentOS 6.3 with SSL

yum install gcc yum install openssl-devel

yum install apr-devel yum install apr-util-devel

yum install libtool

yum install gcc-c++

# APR # http://mirrors.axint.net/apache//apr/apr-1.4.6.tar.gz

tar -xvzf apr-1.4.6.tar.gz

cd apr-1.4.6/

./configure

make

make install

cd ..

# APR Utils # http://mirrors.axint.net/apache//apr/apr-util-1.4.1.tar.gz

tar -xvzf apr-util-1.4.1.tar.gz

cd apr-util-1.4.1

[…]

Apache commands

# apachectl ­-k graceful In a server environment, should use the command apachectl instead of /etc/init.d/httpd. apachectl command is used to control the apache httpd daemon.

# apachectl -­k restart difference between apachectl -k graceful and apachectl -k restart is that in case of the former current requests are not aborted but in the latter […]

Hide Apache Info

One of the things which gives a potential attacker some help is them knowing which versions of software you use. This can be very easy to find out, particularly if you have never taken steps to secure this information.

For example: I would like to know what software apache.org are using/have used so I look […]