<?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/"
	>

<channel>
	<title>WEBPIRATEN &#187; Lighttpd</title>
	<atom:link href="http://webpiraten.de/index.php/tag/lighttpd/feed/" rel="self" type="application/rss+xml" />
	<link>http://webpiraten.de</link>
	<description>Techblog / Photographie</description>
	<lastBuildDate>Fri, 18 May 2012 10:03:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>ioncube php loader auf ubuntu mit lighttpd</title>
		<link>http://webpiraten.de/index.php/offtopic/ioncube-php-loader-auf-ubuntu-mit-lighttpd/</link>
		<comments>http://webpiraten.de/index.php/offtopic/ioncube-php-loader-auf-ubuntu-mit-lighttpd/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 20:36:42 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OffTopic]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[XT Commerce]]></category>
		<category><![CDATA[ioncube]]></category>
		<category><![CDATA[lighty]]></category>
		<category><![CDATA[loader]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=283</guid>
		<description><![CDATA[Hier eine kurze Anleitung wie man ioncube php loader auf ubuntu mit lighty webserver installieren kann.]]></description>
			<content:encoded><![CDATA[<p>Hier eine kurze Anleitung wie man ioncube php loader auf ubuntu mit lighty webserver installieren kann.</p>
<pre class="brush: bash; title: ; notranslate">
# in den tmp ordner wechseln
cd /tmp

# per wget loader sources holen
wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

# entpacken des tar balls
tar xvfz ioncube_loaders_lin_x86.tar.gz

# verschieben des neuen ioncube ordners nach /usr/local/
mv ioncube /usr/local/

# neue aa_ioncube.ini datei in /etc/php5/cgi/conf.d/ erzeugen
vi /etc/php5/cgi/conf.d/aa_ioncube.ini

# je nach php version diese zeile in die aa_ioncube.ini
# datei schreiben und mit :wq speichern
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

# lighty neu starten
/etc/init.d/lighttpd restart
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/offtopic/ioncube-php-loader-auf-ubuntu-mit-lighttpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTP Authentifizierung mit Lighttpd</title>
		<link>http://webpiraten.de/index.php/server/http-authentifizierung-mit-lighttpd/</link>
		<comments>http://webpiraten.de/index.php/server/http-authentifizierung-mit-lighttpd/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 21:19:06 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[authentifizierung]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[lighty]]></category>
		<category><![CDATA[passwort]]></category>
		<category><![CDATA[passwortschutz]]></category>
		<category><![CDATA[verzeichnis]]></category>
		<category><![CDATA[vhost]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=122</guid>
		<description><![CDATA[Um im schlanken Webserver Lighty eine HTTP Authentifizierung für bestimmte Verzeichnisse zu erzeugen, ist es notwendig, in der /etc/lighttpd/lighttpd.conf das Server-Modul mod_access und mod_auth zu aktivieren. Um ein Verzeichnis unterhalb eines bestehenden Webroots nun mit einer Authentifizierung zu schützen, tragen &#8230; <a href="http://webpiraten.de/index.php/server/http-authentifizierung-mit-lighttpd/">weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Um im schlanken Webserver Lighty eine HTTP Authentifizierung für bestimmte Verzeichnisse zu erzeugen, ist es notwendig, in der <strong>/etc/lighttpd/lighttpd.conf</strong> das Server-Modul <strong>mod_access</strong> und <strong>mod_auth</strong> zu aktivieren.</p>
<pre class="brush: bash; title: ; notranslate">

server.modules = (
                    &quot;mod_access&quot;,
                    &quot;mod_auth&quot;,
                    &quot;mod_alias&quot;,
                    &quot;mod_accesslog&quot;,
                    &quot;mod_compress&quot;,
                    &quot;mod_cgi&quot;,
                    &quot;mod_fastcgi&quot;,
                    &quot;mod_rewrite&quot;,
                    &quot;mod_magnet&quot;,
                    &quot;mod_redirect&quot;,
                    &quot;mod_status&quot;,
                    )
</pre>
<p>Um ein Verzeichnis unterhalb eines bestehenden Webroots nun mit einer Authentifizierung zu schützen, tragen wir das in der <strong>/etc/lighttpd/vhosts.conf</strong> ein.</p>
<pre class="brush: bash; title: ; notranslate">

$HTTP[&quot;host&quot;] =~ &quot;(^|\.)domain\.tld$&quot; {
        server.document-root = &quot;/home/user/pages/&quot;
        auth.backend = &quot;htpasswd&quot;
        auth.backend.htpasswd.userfile = &quot;/home/user/passwd.txt&quot;
        auth.require = (&quot;/&quot; =&gt; (
                                 &quot;method&quot; =&gt; &quot;basic&quot;,
                                 &quot;realm&quot; =&gt; &quot;admin&quot;,
                                 &quot;require&quot; =&gt; &quot;valid-user&quot;
                                 )
                         )
}
</pre>
<p>Zu guter Letzt benötigen wir noch die <strong>/home/user/passwd.txt</strong> die die betreffenden Authentifizierungsinfos bereit hält.</p>
<pre class="brush: bash; title: ; notranslate">

user:basic_encoded_password
</pre>
<p>Fortan ist der Ordner <strong>/home/user/pages/</strong> passwortgeschützt.<br />
Möchte man einen Unterordner passwortschützen, trägt man diesen statt des Slashes ein:</p>
<pre class="brush: bash; title: ; notranslate">

auth.require = (&quot;/subdir/&quot; =&gt; (
                                  &quot;method&quot;  =&gt; &quot;basic&quot;,
                                  &quot;realm&quot;   =&gt; &quot;admin&quot;,
                                  &quot;require&quot; =&gt; &quot;valid-user&quot;
                                  )
            )
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/server/http-authentifizierung-mit-lighttpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

