<?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>Tuts4Tech &#187; lighttpd</title>
	<atom:link href="http://tuts4tech.net/tag/lighttpd/feed/" rel="self" type="application/rss+xml" />
	<link>http://tuts4tech.net</link>
	<description>Tech Tutorials</description>
	<lastBuildDate>Tue, 04 May 2010 20:35:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Installing PHPLdapAdmin To Manage Your Ldap Server</title>
		<link>http://tuts4tech.net/2009/07/03/installing-phpldapadmin-to-manage-your-ldap-server/</link>
		<comments>http://tuts4tech.net/2009/07/03/installing-phpldapadmin-to-manage-your-ldap-server/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 17:17:39 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[backend]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[openldap]]></category>
		<category><![CDATA[phpldapadmin]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=427</guid>
		<description><![CDATA[I will be using lighttpd as the httpd Install PHPLdapAdmin Move your lighttpd.conf to lighttpd.conf.bak Then download this lighttpd.conf and restart lighttpd You should now be able to login to PHPLdapAdmin at http://server-ip:9090]]></description>
			<content:encoded><![CDATA[<ol>
<li>I will be using lighttpd as the httpd
<pre class="brush: plain; title: ; notranslate">apt-get install lighttpd php5-cgi php5-ldap php5-mhash</pre>
</li>
<li>Install PHPLdapAdmin
<pre class="brush: plain; title: ; notranslate">apt-get install phpldapadmin</pre>
</li>
<li>Move your lighttpd.conf to lighttpd.conf.bak
<pre class="brush: bash; title: ; notranslate">cd /etc/lighttpd
mv lighttpd.conf lighttpd.conf.bak</pre>
<p> Then download <a href="http://tuts4tech.net/files/lighttpd.conf">this lighttpd.conf</a> and restart lighttpd
<pre class="brush: plain; title: ; notranslate">wget tuts4tech.net/files/lighttpd.conf
/etc/init.d/lighttpd restart</pre>
</li>
<li>You should now be able to login to PHPLdapAdmin at http://server-ip:9090</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/07/03/installing-phpldapadmin-to-manage-your-ldap-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding out what httpd a website uses</title>
		<link>http://tuts4tech.net/2009/06/20/finding-out-what-httpd-a-website-uses/</link>
		<comments>http://tuts4tech.net/2009/06/20/finding-out-what-httpd-a-website-uses/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 18:27:30 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=335</guid>
		<description><![CDATA[Have you ever wanted to know what httpd a website is using but didn't know how? this tutorial will be able to show you. You can simply find out the httpd by viewing the servers header. To view the headers we need curl you can install it by running the following command Then we need [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wanted to know what httpd a website is using but didn't know how? this tutorial will be able to show you. You can simply find out the httpd by viewing the servers header. To view the headers we need curl you can install it by running the following command
<pre class="brush: bash; title: ; notranslate">apt-get install curl</pre>
<p>Then we need to launch it with the switch -I so lets say we want to find out the httpd that tuts4tech.net uses we would type the following
<pre class="brush: bash; title: ; notranslate">curl -I tuts4tech.net</pre>
<p>Output:
<pre class="brush: plain; title: ; notranslate">HTTP/1.1 200 OK
Vary: Cookie
Set-Cookie: wordpress_test_cookie=WP+Cookie+check; path=/
X-Pingback: http://tuts4tech.net/xmlrpc.php
Content-Type: text/html; charset=UTF-8
Date: Sat, 20 Jun 2009 17:29:21 GMT
Server: lighttpd/1.4.19</pre>
<p>From the output you can see that we use lighttpd<br />You can also just use this script <a href="http://tuts4tech.net/httpd.php?domain=tuts4tech.net">http://tuts4tech.net/httpd.php?domain=tuts4tech.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/06/20/finding-out-what-httpd-a-website-uses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lighttpd virtual hosting</title>
		<link>http://tuts4tech.net/2009/06/13/lighttpd-virtual-hosting/</link>
		<comments>http://tuts4tech.net/2009/06/13/lighttpd-virtual-hosting/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 01:42:51 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[port 80]]></category>
		<category><![CDATA[vhosts]]></category>
		<category><![CDATA[virtual hosting]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://tuts4tech.co.cc/?p=258</guid>
		<description><![CDATA[Virtual hosting allows you to host many websites from one server. Setup The Folders and users Lighttpd Config Open your lighttpd.conf Add the following for the virtual host configuration Save your config and restart lighttpd]]></description>
			<content:encoded><![CDATA[<p>Virtual hosting allows you to host many websites from one server.</p>
<ol>
<h3>Setup The Folders and users</h3>
<li>
<pre class="brush: plain; title: ; notranslate">adduser domain1
addgroup domain1
adduser www-data domain1
mkdir -p /home/domain1
chown domain1:domain1 -R /home/domain1
chmod 750 -R /home/domain1</pre>
<p>
<pre class="brush: plain; title: ; notranslate">adduser domain2
addgroup domain2
adduser www-data domain2
mkdir -p /home/domain2
chown domain2:domain2 -R /home/domain2
chmod 750 -R /home/domain2</pre>
</li>
</ol>
<ol>
<h3>Lighttpd Config</h3>
<li>Open your lighttpd.conf
<pre class="brush: plain; title: ; notranslate">nano /etc/lighttpd.conf</pre>
</li>
<li>Add the following for the virtual host configuration
<pre class="brush: plain; title: ; notranslate">$HTTP[&quot;host&quot;] == &quot;domain1.com&quot; {
server.document-root = &quot;/home/domain1&quot;
accesslog.filename = &quot;/var/log/lighttpd/domain1/access.log&quot;
}</pre>
<p></p>
<pre class="brush: plain; title: ; notranslate">$HTTP[&quot;host&quot;] == &quot;domain2.com&quot; {
server.document-root = &quot;/home/domain2&quot;
accesslog.filename = &quot;/var/log/lighttpd/domain2/access.log&quot;
}</pre>
</li>
<li>Save your config and restart lighttpd
<pre class="brush: plain; title: ; notranslate">/etc/init.d/lighttpd restart</pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/06/13/lighttpd-virtual-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lighttpd On Windows</title>
		<link>http://tuts4tech.net/2009/04/06/lighttpd-on-windows/</link>
		<comments>http://tuts4tech.net/2009/04/06/lighttpd-on-windows/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 12:12:43 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://duffys-place.co.cc/?p=69</guid>
		<description><![CDATA[Setting Up Lighttpd Download the lighttpd setup file from here. I chose the Setup Wizard (.exe) version. Double-click on the downloaded executable to start the installation. When the installation is done go to your lighttpd directory(by default its C:\program files\lighttpd) and run TestMode.bat A console window should open to indicate the server is started. Go [...]]]></description>
			<content:encoded><![CDATA[<p><object width="600" height="465" data="http://www.youtube.com/v/QbDpntqGFmg&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x006699&amp;color2=0x54abd6" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/QbDpntqGFmg&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x006699&amp;color2=0x54abd6" /><param name="allowfullscreen" value="true" /></object></p>
<ol>
<h4>Setting Up Lighttpd</h4>
<li>Download the lighttpd setup file from <a href="http://en.wlmp-project.net/downloads.php?cat=lighty">here</a>. I chose the Setup Wizard (.exe) version.</li>
<li>Double-click on the downloaded executable to start the installation.</li>
<li>When the installation is done go to your lighttpd directory(by default its C:\program files\lighttpd) and run TestMode.bat A console window should open to indicate the server is started.</li>
<li>Go to <a href="http://localhost">http://localhost</a> this should show a lighttpd test page.</li>
</ol>
<ol>
<h4>Enabling PHP</h4>
<li>Download php .zip package from <a href="http://www.php.net/downloads.php">here</a></li>
<li> Extract it to C:\php</li>
<li>Edit lighttpd-inc.conf (i.e. “C:\Program Files\LightTPD\conf\lighttpd-inc.conf”) with the following:
<ol>
<li>Remove the comment tag(#) for "mod-cgi" (Line 20)</li>
<li>Add this line (assuming that PHP was installed on C drive):</li>
<li>cgi.assign = ( “.php” => “C:/php/php-cgi.exe” )</li>
</ol>
</li>
<li>In your PHP directory rename the file php.ini-recommended to php.ini and edit php.ini with the following:
<ol>
<li>short_open_tag = On</li>
<li>display_errors = On</li>
<li>doc_root = “C:\Progra~1\LightTPD\htdocs”</li>
</ol>
</li>
</ol>
<ol>
<h4>Testing PHP</h4>
<li>You can test php by creating a file containing:</li>
<pre class="brush: plain; title: ; notranslate">&lt;?php phpinfo(); ?&gt;</pre>
<p>Place the file in your htdocs directory (i.e. “C:\Program Files\LightTPD\htdocs”), open up your browser and browse to the page. It should show you the php info page.
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/04/06/lighttpd-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

