<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:ymaps="http://api.maps.yahoo.com/Maps/V2/AnnotatedMaps.xsd">

<channel>
	<title>Michael`s Blog &#187; apache</title>
	<atom:link href="http://blog.streb.name/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.streb.name</link>
	<description>OSS/Linux, networking and my private life</description>
	<lastBuildDate>Thu, 27 Jan 2011 12:11:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Umstellung auf lighttpd</title>
		<link>http://blog.streb.name/2009/01/26/umstellung-auf-lighttpd/</link>
		<comments>http://blog.streb.name/2009/01/26/umstellung-auf-lighttpd/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 13:48:05 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://blog.streb.name/?p=218</guid>
		<description><![CDATA[Nachdem ich mich vor kurzem dazu entschlossen habe diesen Webserver von Apache auf Lighttpd umzustellen hier ein Load-Graph aus dem NagiosGrapher der den Zeitpunkt der Umstellung relativ genau erahnen lässt:



Wie man sieht hat sich vom 19.01. bis zum 20.01. die Load des Servers geringfügig nach unten verändert ! :)

Alle meine Websites laufen mittlerweile mit ...]]></description>
			<content:encoded><![CDATA[<p>Nachdem ich mich vor kurzem dazu entschlossen habe diesen Webserver von Apache auf Lighttpd umzustellen hier ein Load-Graph aus dem NagiosGrapher der den Zeitpunkt der Umstellung relativ genau erahnen lässt:</p>
<p><img class="aligncenter size-medium wp-image-219" title="Load Graph" src="http://blog.streb.name/wp-content/uploads/2009/01/localhost_lx-load_3weekly-300x141.png" alt="Load Graph" width="300" height="141" /></p>
<p>Wie man sieht hat sich vom 19.01. bis zum 20.01. die Load des Servers geringfügig nach unten verändert ! <img src='http://blog.streb.name/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Alle meine Websites laufen mittlerweile mit Lighttpd, ich bin echt begeistert davon.</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2009/01/26/umstellung-auf-lighttpd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache2 mpm-worker und fcgid</title>
		<link>http://blog.streb.name/2008/10/24/apache2-mpm-worker-und-fcgid/</link>
		<comments>http://blog.streb.name/2008/10/24/apache2-mpm-worker-und-fcgid/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 10:58:44 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[reisen]]></category>
		<category><![CDATA[routing]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://blog.streb.name/?p=140</guid>
		<description><![CDATA[Nachdem gefühlt der Apache auf dieser Website gelegentlich mal denkpausen gebraucht hat habe ich mich dazu entschlossen die mpm-prefork mit der mpm-worker Version zu ersetzen, zusätzlich wird nun PHP durch FastCGI aufgerufen.

Anbei eine kleine Konfigurationsanleitung.

	Installation der benötigten Pakete:

aptitude install libapache2-mod-fcgid apache2-mpm-worker php5-cgi

	Konfiguration des Apache

a2dismod php5
a2enmod actions
a2enmod fcgid

	Anpassen der Apache Konfigurationen

/etc/apache2/mods-enabled/fcgid.conf

    AddHandler ...]]></description>
			<content:encoded><![CDATA[<p>Nachdem gefühlt der Apache auf dieser Website gelegentlich mal denkpausen gebraucht hat habe ich mich dazu entschlossen die mpm-prefork mit der mpm-worker Version zu ersetzen, zusätzlich wird nun PHP durch FastCGI aufgerufen.</p>
<p>Anbei eine kleine Konfigurationsanleitung.</p>
<ul>
<li>Installation der benötigten Pakete:</li>
</ul>
<p><pre>aptitude install libapache2-mod-fcgid apache2-mpm-worker php5-cgi</pre></p>
<ul>
<li>Konfiguration des Apache</li>
</ul>
<p><pre>a2dismod php5
a2enmod actions
a2enmod fcgid</pre></p>
<ul>
<li>Anpassen der Apache Konfigurationen</li>
</ul>
<p>/etc/apache2/mods-enabled/fcgid.conf<br />
<pre>
&nbsp;&nbsp;&nbsp;&nbsp;AddHandler fcgid-script .fcgi
&nbsp;&nbsp;&nbsp;&nbsp;SocketPath /var/lib/apache2/fcgid/sock
&nbsp;&nbsp;&nbsp;&nbsp;IPCConnectTimeout 60</pre><br />
/etc/apache2/conf.d/php5-fcgid.conf<br />
<pre>

&nbsp;&nbsp;&nbsp;&nbsp;# Path to php.ini – defaults to /etc/phpX/cgi
&nbsp;&nbsp;&nbsp;&nbsp;DefaultInitEnv PHPRC=/etc/php5/cgi

&nbsp;&nbsp;&nbsp;&nbsp;# Number of PHP childs that will be launched. Leave undefined to let PHP decide.
&nbsp;&nbsp;&nbsp;&nbsp;#DefaultInitEnv PHP_FCGI_CHILDREN 3

&nbsp;&nbsp;&nbsp;&nbsp;# Maximum requests before a process is stopped and a new one is launched
&nbsp;&nbsp;&nbsp;&nbsp;DefaultInitEnv PHP_FCGI_MAX_REQUESTS 2500

&nbsp;&nbsp;&nbsp;&nbsp;# Define a new handler &quot;php-fcgi&quot; for &quot;.php&quot; files, plus the action that must follow
&nbsp;&nbsp;&nbsp;&nbsp;AddHandler php-fcgi .php
&nbsp;&nbsp;&nbsp;&nbsp;Action php-fcgi /fcgi-bin/php-fcgi-wrapper

&nbsp;&nbsp;&nbsp;&nbsp;# Define the MIME-Type for &quot;.php&quot; files
&nbsp;&nbsp;&nbsp;&nbsp;AddType application/x-httpd-php .php

&nbsp;&nbsp;&nbsp;&nbsp;# Define alias &quot;/fcgi-bin/&quot;. The action above is using this value, which means that
&nbsp;&nbsp;&nbsp;&nbsp;# you could run another &quot;php5-cgi&quot; command by just changing this alias
&nbsp;&nbsp;&nbsp;&nbsp;Alias /fcgi-bin/ /var/www/fcgi-bin.d/php5-default/

&nbsp;&nbsp;&nbsp;&nbsp;# Turn on the fcgid-script handler for all files within the alias &quot;/fcgi-bin/&quot;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SetHandler fcgid-script
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Options +ExecCGI</pre></p>
<ul>
<li>Anlegen des Wrapper unter</li>
</ul>
<p>/var/www/fcgi-bin.d/php5-default/php-fcgi-wrapper<br />
<pre>#!/bin/sh
# Wrapper for PHP-fcgi
# This wrapper can be used to define settings before launching the PHP-fcgi binary.

# Define the path to php.ini. This defaults to /etc/phpX/cgi.
#export PHPRC=/var/www/fcgi-bin.d/php5-web01/phprc
export PHPRC=/etc/php5/cgi

# Define the number of PHP childs that will be launched. Leave undefined to let PHP decide.
export PHP_FCGI_CHILDREN=5

# Maximum requests before a process is stopped and a new one is launched
export PHP_FCGI_MAX_REQUESTS=5000

# Launch the PHP CGI binary
# This can be any other version of PHP which is compiled with FCGI support.
exec /usr/bin/php5-cgi</pre></p>
<ul>
<li>den neuen Wrapper ausführbar machen</li>
</ul>
<p><pre>chmod +x /var/www/fcgi-bin.d/php5-default/php-fcgi-wrapper</pre></p>
<ul>
<li>Schließlich muss der Apache noch neu gestartet werden</li>
</ul>
<p><pre>/etc/init.d/apache2 restart</pre></p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2008/10/24/apache2-mpm-worker-und-fcgid/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Apache-SSL BasicAuth not working after Sarge upgrade</title>
		<link>http://blog.streb.name/2007/03/27/apache-ssl-basicauth-not-working-after-sarge-upgrade/</link>
		<comments>http://blog.streb.name/2007/03/27/apache-ssl-basicauth-not-working-after-sarge-upgrade/#comments</comments>
		<pubDate>Tue, 27 Mar 2007 11:38:26 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.streb.name/blog/?p=7</guid>
		<description><![CDATA[After upgrading the debian apache-ssl package from woody to sarge the Basic Authentication did not work anymore.

In my case the error was the SSLFakeBasicAuth setting in the httpd.conf.
Unsetting this directive fixed the problem



]]></description>
			<content:encoded><![CDATA[<p>After upgrading the debian apache-ssl package from woody to sarge the Basic Authentication did not work anymore.</p>
<p>In my case the error was the <code>SSLFakeBasicAuth</code> setting in the httpd.conf.<br />
Unsetting this directive fixed the problem</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2007/03/27/apache-ssl-basicauth-not-working-after-sarge-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache LDAP and htaccess authentication</title>
		<link>http://blog.streb.name/2007/03/14/apache-ldap-and-htaccess-authentication/</link>
		<comments>http://blog.streb.name/2007/03/14/apache-ldap-and-htaccess-authentication/#comments</comments>
		<pubDate>Wed, 14 Mar 2007 11:38:06 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.streb.name/blog/?p=6</guid>
		<description><![CDATA[if you would like to setup an two phase apache2 htaccess+ldap authentication this are the right settings:


AuthName "access"
AuthType Basic
AuthUserFile /etc/apache2/rt.htpasswd
AuthLDAPAuthoritative On
AuthAuthoritative Off
AuthLDAPURL "ldap://host/OU=,DC=,DC=com?samAccountName?sub?(objectCategory=person)(ObjectClass=User)"
AuthLDAPBindDN 
AuthLDAPBindPassword 

order allow,deny
allow from all
require valid-user


the important settings are:


AuthLDAPAuthoritative On
AuthAuthoritative Off


with his apache checks both the htaccess and the LDAP users]]></description>
			<content:encoded><![CDATA[<p>if you would like to setup an two phase apache2 htaccess+ldap authentication this are the right settings:</p>
<p><code>
AuthName &quot;access&quot;
AuthType Basic
AuthUserFile /etc/apache2/rt.htpasswd
AuthLDAPAuthoritative On
AuthAuthoritative Off
AuthLDAPURL &quot;ldap://host/OU=&lt;name&gt;,DC=&lt;domain&gt;,DC=com?samAccountName?sub?(objectCategory=person)(ObjectClass=User)&quot;
AuthLDAPBindDN &lt;binduser&gt;
AuthLDAPBindPassword &lt;bindpassword&gt;

order allow,deny
allow from all
require valid-user
</code></p>
<p>the important settings are:</p>
<p><code>
AuthLDAPAuthoritative On
AuthAuthoritative Off
</code></p>
<p>with his apache checks both the htaccess and the LDAP users</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://blog.streb.name/2007/03/14/apache-ldap-and-htaccess-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

