<?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>Debian Tutorials &#187; apache</title>
	<atom:link href="http://www.debiantutorials.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.debiantutorials.com</link>
	<description>Copy/Paste tutorials for Debian based Linux distros</description>
	<lastBuildDate>Tue, 27 Dec 2011 01:15:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>How to install LAMP (Apache, PHP and MySql in Linux)</title>
		<link>http://www.debiantutorials.com/how-to-install-lamp-apache-php-and-mysql-in-linux/</link>
		<comments>http://www.debiantutorials.com/how-to-install-lamp-apache-php-and-mysql-in-linux/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 15:20:39 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=393</guid>
		<description><![CDATA[Here's a basic guide on how to get Apache2, PHP5 and MySql working on most Debian based distros in a few easy steps. 1. Install Apache2 and PHP5 (as an Apache module) apt-get install apache2 php5 libapache2-mod-php5 php5-mysql 2. Install MySql server apt-get install mysql-server 3. At this point you may need to restart Apache [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/uploads/2011/08/lamp.jpg" alt="Trac" align="right" style="margin-left:10px" /><br />
Here's a basic guide on how to get Apache2, PHP5 and MySql working on most Debian based distros in a few easy steps.</p>
<p>1. Install Apache2 and PHP5 (as an Apache module)</p>
<p><code>apt-get install apache2 php5 libapache2-mod-php5 php5-mysql<br />
</code><span id="more-393"></span></p>
<p>2. Install MySql server</p>
<p><code>apt-get install mysql-server<br />
</code></p>
<p>3. At this point you may need to restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>3. Create a test php file</p>
<p><code>echo "&lt;?php phpinfo(); ?&gt;" > /var/www/info.php<br />
</code></p>
<p><em>The default document root for Debian is in /var/www so you can access the test file on this location: http://yourserver/info.php</em></p>
<p>3. Install phpMyAdmin (optional but preferred by most developers and administrators)</p>
<p><code>apt-get install phpmyadmin<br />
</code></p>
<p><em>By default, phpmyadmin will be accessible on: http://yourserver/phpmyadmin</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/how-to-install-lamp-apache-php-and-mysql-in-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing and configuring Trac and Subversion on squeeze</title>
		<link>http://www.debiantutorials.com/installing-and-configuring-trac-and-subversion-on-squeeze/</link>
		<comments>http://www.debiantutorials.com/installing-and-configuring-trac-and-subversion-on-squeeze/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 20:59:24 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=377</guid>
		<description><![CDATA[Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. Trac allows wiki markup in issue descriptions and commit messages, creating links and seamless references between bugs, tasks, changesets, files and wiki pages. A timeline shows all current and past project events [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.debiantutorials.com/wp-content/uploads/2011/08/trac.jpg" alt="Trac" align="right" style="margin-left:10px" />Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management.</p>
<p>Trac allows wiki markup in issue descriptions and commit messages, creating links and seamless references between bugs, tasks, changesets, files and wiki pages. A timeline shows all current and past project events in order, making the acquisition of an overview of the project and tracking progress very easy. The roadmap shows the road ahead, listing the upcoming milestones. </p>
<p><strong>Install and configure Trac and subversion</strong></p>
<p>1. Install required packages for both Trac and Subversion. We'll be using Apache to publish the Subversion repositories</p>
<p><code>apt-get install python-setuptools trac subversion libapache2-svn libapache2-mod-python<br />
a2enmod dav_fs<br />
</code><span id="more-377"></span></p>
<p>2. Create a template SVN repository which we will copy later to create new repositories.</p>
<p><code>mkdir /var/svn/<br />
mkdir /var/svn/tmpproject<br />
mkdir /var/svn/tmpproject/branches<br />
mkdir /var/svn/tmpproject/tags<br />
mkdir /var/svn/tmpproject/trunk</code></p>
<p>3. Enable the Apache SVN module</p>
<p><code>a2enmod dav_fs<br />
</code></p>
<p>4. Create a password file containing users that have access to the Subversion repositories and Trac</p>
<p><code>htpasswd -c /etc/apache2/svn.passwd user1<br />
htpasswd /etc/apache2/svn.passwd user2<br />
</code></p>
<p>5. Edit the apache configurations to enable Trac and Subversion SVN (pico /etc/apache2/sites-enabled/000-default). Add the following lines:</p>
<p><code>&lt;Location /svn&gt;<br />
DAV svn<br />
SVNParentPath /var/svn<br />
SVNAutoversioning on<br />
AuthType Basic<br />
AuthName "Subversion Repository"<br />
AuthUserFile /etc/apache2/svn.passwd<br />
Require valid-user<br />
&lt;/Location&gt;<br />
&lt;Location "/trac"&gt;<br />
SetHandler mod_python<br />
PythonHandler trac.web.modpython_frontend<br />
PythonOption TracEnvParentDir /var/trac/<br />
PythonOption TracUriRoot /trac<br />
AuthType Basic<br />
AuthName "Trac"<br />
AuthUserFile /etc/apache2/svn.passwd<br />
Require valid-user<br />
&lt;/Location&gt;<br />
</code></p>
<p>6. Create a directory for Trac projects</p>
<p><code>mkdir /var/trac<br />
</code></p>
<p><strong>Create the first project</strong></p>
<p>1. Create a subversion repository and import the directory structure from the tmpproject template</p>
<p><code>svnadmin create /var/svn/myproject --fs-type fsfs<br />
svn import /var/svn/tmpproject file:///var/svn/myproject -m "initial import"<br />
find /var/svn/myproject -type f -exec chmod 660 {} \;<br />
find /var/svn/myproject -type d -exec chmod 2770 {} \;<br />
chown -R root.www-data /var/svn/myproject<br />
</code></p>
<p>2. Create the Trac project</p>
<p><code>trac-admin /var/trac/myproject initenv<br />
find /var/trac/myproject -type f -exec chmod 660 {} \;<br />
find /var/trac/myproject -type d -exec chmod 2770 {} \;<br />
chown -R root.www-data /var/trac/myproject<br />
</code></p>
<p>3. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>4. Give a user administrator permissions to the project</p>
<p><code>trac-admin /var/trac/myproject<br />
permission add user1 TRAC_ADMIN<br />
</code></p>
<p>You can now access your Trac project by browsing with your favorite browser to http://localhost/trac/myproject.</p>
<p>To access the Subversion reposatory you can use any Subversion client. If you're using Windows, <a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> would be a good choice. The location to the new SVN repository is something like this: http://localhost/svn/myproject</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-and-configuring-trac-and-subversion-on-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing eAccelerator</title>
		<link>http://www.debiantutorials.com/installing-eaccelerator/</link>
		<comments>http://www.debiantutorials.com/installing-eaccelerator/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 11:09:48 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[eAccelerator]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=375</guid>
		<description><![CDATA[eAccelerator is a free open-source PHP accelerator &#038; optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code [...]]]></description>
			<content:encoded><![CDATA[<p>eAccelerator is a free open-source PHP accelerator &#038; optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.</p>
<p>eAccelerator only works with mod_php or php in fastcgi mode. It can't be used in cgi or cli because eAccelerator needs to set up shared memory, and this can only be done when all php instances that need to access it are forks of the first process.</p>
<p>1. Download the eAccelerator source. The latest version is mirrored on www.debiantutorials.com as it's not available on the official site anymore.</p>
<p><code>cd /tmp<br />
wget http://www.debiantutorials.com/static/eaccelerator-0.9.6.1.tar.bz2<br />
</code><span id="more-375"></span></p>
<p>2. Extract</p>
<p><code>tar -xvjf eaccelerator-0.9.6.1.tar.bz2<br />
</code></p>
<p>3. Install php5-dev</p>
<p><code>apt-get install php5-dev<br />
</code></p>
<p>3. Compile and install the eAccelerator</p>
<p><code>phpize<br />
./configure<br />
make<br />
make install<br />
</code></p>
<p>4. Configure eAccelerator as PHP extension (create a new config file: pico /etc/php5/conf.d/eaccelerator.ini)</p>
<p><code>extension="eaccelerator.so"<br />
eaccelerator.shm_size="16"<br />
eaccelerator.cache_dir="/var/cache/eaccelerator"<br />
eaccelerator.enable="1"<br />
eaccelerator.optimizer="1"<br />
eaccelerator.check_mtime="1"<br />
eaccelerator.debug="0"<br />
eaccelerator.filter=""<br />
eaccelerator.shm_max="0"<br />
eaccelerator.shm_ttl="0"<br />
eaccelerator.shm_prune_period="0"<br />
eaccelerator.shm_only="0"<br />
eaccelerator.compress="1"<br />
eaccelerator.compress_level="9"<br />
</code></p>
<p>5. Create a cache directory</p>
<p><code>mkdir -p /var/cache/eaccelerator<br />
chmod 0777 /var/cache/eaccelerator<br />
</code></p>
<p>5. Restart apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-eaccelerator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Running Apache2 virtual hosts as different users with mpm-itk</title>
		<link>http://www.debiantutorials.com/running-apache2-virtual-hosts-as-different-users-with-mpm-itk/</link>
		<comments>http://www.debiantutorials.com/running-apache2-virtual-hosts-as-different-users-with-mpm-itk/#comments</comments>
		<pubDate>Tue, 31 May 2011 10:50:46 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[itk]]></category>
		<category><![CDATA[mpm]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=369</guid>
		<description><![CDATA[apache2-mpm-itk is an MPM (Multi-Processing Module) for the Apache web server. mpm-itk allows you to run each of your vhost under a separate uid and gid — in short, the scripts and configuration files for one vhost no longer have to be readable for all the other vhosts. 1. Install the apache2-mpm-itk package apt-get install [...]]]></description>
			<content:encoded><![CDATA[<p>apache2-mpm-itk is an MPM (Multi-Processing Module) for the Apache web server. mpm-itk allows you to run each of your vhost under a separate uid and gid — in short, the scripts and configuration files for one vhost no longer have to be readable for all the other vhosts.</p>
<p>1. Install the apache2-mpm-itk package</p>
<p><code>apt-get install apache2-mpm-itk<br />
</code><span id="more-369"></span></p>
<p>2. Configure user and group for each virtual host by adding the following line somewhere between &lt;VirtualHost *:80&gt;...&lt;/VirtualHost&gt;</p>
<p><code>AssignUserId [user] [group]<br />
</code></p>
<p>Replace [user] and [group] with a username and group name that already exists on the system.</p>
<p>3. Change the owner of the web root</p>
<p><code>chown [user].[group] [location]<br />
</code></p>
<p>Replace [user] and [group] with the username and group name configured on the virtual host. Replace [location] with the location specified as DocumentRoot for the virtual host, eg. /var/www</p>
<p>4. Make sure the location isn't accessible by other users (optional)</p>
<p><code>chmod o= [location]<br />
</code></p>
<p>Replace [location] with the location specified as DocumentRoot for the virtual host, eg. /var/www</p>
<p>5. Restart apache</p>
<p><code>/etc/init.d/apache restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/running-apache2-virtual-hosts-as-different-users-with-mpm-itk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenID authentication with the mod_auth_openid Apache module</title>
		<link>http://www.debiantutorials.com/openid-authentication-with-the-mod_auth_openid-apache-module/</link>
		<comments>http://www.debiantutorials.com/openid-authentication-with-the-mod_auth_openid-apache-module/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 21:33:10 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[OpenID]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=303</guid>
		<description><![CDATA[mod_auth_openid is an authentication module for the Apache 2 webserver. It handles the functions of an OpenID consumer as specified in the OpenID 2.0 specification. After a user authenticates themselves, the user's identity will be available in the REMOTE_USER variable. A cookie named open_id_session_id is saved to maintain each user's session. 1. Install the module [...]]]></description>
			<content:encoded><![CDATA[<p>mod_auth_openid is an authentication module for the Apache 2 webserver. It handles the functions of an OpenID  consumer as specified in the OpenID 2.0 specification.</p>
<p>After a user authenticates themselves, the user's identity will be available in the REMOTE_USER variable. A cookie named open_id_session_id is saved to maintain each user's session.</p>
<p>1. Install the module</p>
<p><code>apt-get install libapache2-mod-auth-openid<br />
</code><span id="more-303"></span></p>
<p>2. Enable the module</p>
<p><code>a2enmod authopenid<br />
</code></p>
<p>3. You can now add the line below to any Directory, Location or File directive in the virtual host configuration or a .htaccess file .</p>
<p><code>AuthOpenIDEnabled On<br />
</code></p>
<p><a href="http://trac.butterfat.net/public/mod_auth_openid" target="_blank">Click here for more configuration options, including only allowing logins from specific OpenID providers and using a custom login page</a></p>
<p>4. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/openid-authentication-with-the-mod_auth_openid-apache-module/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install mod_spamhaus Apache module to fight comment spam</title>
		<link>http://www.debiantutorials.com/install-modspamhaus-apache-module-to-fight-comment-spam/</link>
		<comments>http://www.debiantutorials.com/install-modspamhaus-apache-module-to-fight-comment-spam/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 20:53:01 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spamhaus]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=301</guid>
		<description><![CDATA[mod_spamhaus is an Apache module for DNS Block Listing that protects web services by denying access to particular IP addresses. It can stop spam relaying via web form URL injection, and block HTTP DDoS attacks from bot-nets. It queries sbl-xbl.spamhaus.org, taking advantage of the Spamhaus Block List (SBL) and the Exploits Block List (XBL). 1. [...]]]></description>
			<content:encoded><![CDATA[<p>mod_spamhaus is an Apache module for DNS Block Listing that protects web services by denying access to particular IP addresses. It can stop spam relaying via web form URL injection, and block HTTP DDoS attacks from bot-nets.</p>
<p>It queries sbl-xbl.spamhaus.org, taking advantage of the Spamhaus Block List (SBL) and the Exploits Block List (XBL). </p>
<p>1. Download the latest mod_spamhaus deb package from sid package repository (mod_spamhaus is not available for lenny but we can use the sid package)</p>
<p><code>wget http://ftp.us.debian.org/debian/pool/main/m/mod-spamhaus/libapache2-mod-spamhaus_0.7-1_i386.deb<br />
</code><span id="more-301"></span></p>
<p>This package is for i386. If you are using other architecture, you can find a suitable package on the bottom of this page: http://packages.debian.org/sid/libapache2-mod-spamhaus</p>
<p>2. Install the package</p>
<p><code>dpkg -i libapache2-mod-spamhaus_0.7-1_i386.deb<br />
</code></p>
<p>Apache is automatically restarted and the module is enabled. If you would like to test the module you can add a line to your hosts file to make it think that your IP address is blocked (pico /etc/hosts)</p>
<p><code>127.0.0.4 1.0.168.192.sbl-xbl.spamhaus.org<br />
</code></p>
<p><em>Replace 1.0.168.192 with your IP address and reverse it. The IP address 192.168.0.1 should read 1.0.168.192.</em></p>
<p>By default, only POST, PUT, OPTIONS, CONNECT methods are blocked. You can add GET to the list of methods blocked in /etc/apache2/mods-enabled/mod-spamhaus.conf to block the spammers from seeing your website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/install-modspamhaus-apache-module-to-fight-comment-spam/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing EHCP (Easy Hosting Control Panel)</title>
		<link>http://www.debiantutorials.com/installing-ehcp-easy-hosting-control-panel/</link>
		<comments>http://www.debiantutorials.com/installing-ehcp-easy-hosting-control-panel/#comments</comments>
		<pubDate>Sun, 02 May 2010 22:26:40 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Control Panel]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ehcp]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=263</guid>
		<description><![CDATA[EHCP is a powerful, yet easy to install control panel that allows the user to manage services such as Web, FTP, Database and DNS servers. The install script handles the installation and configuration of the required services. I recommend starting with a clean Debian system to avoid conflicts. 1. Download required EHCP files wget http://www.ehcp.net/download [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.debiantutorials.net/wp-content/uploads/2010/05/ehcp.jpg" alt="ehcp" title="ehcp" width="175" height="74" class="alignright size-full wp-image-265" />EHCP is a powerful, yet easy to install control panel that allows the user to manage services such as Web, FTP, Database and DNS servers.</p>
<p>The install script handles the installation and configuration of the required services. I recommend starting with a clean Debian system to avoid conflicts.</p>
<p>1. Download required EHCP files</p>
<p><code>wget http://www.ehcp.net/download<br />
</code><span id="more-263"></span></p>
<p>2. Uncompress the files</p>
<p><code>tar zxvf ehcp_latest.tgz<br />
</code></p>
<p>3. Move into the install directory and run the install script</p>
<p><code>cd ehcp<br />
./install.sh<br />
</code></p>
<p><em>Read the instructions carefully, your server will send statistical information to the EHCP developers. If you choose to move on, the install script will install all required packages including Apache, MySql and Postfix. You will need to provide some information to configure the services and set the admin passwords.</em></p>
<p>4. When the installer is finished, enter the control panel using: http://yourserver.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-ehcp-easy-hosting-control-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing the GeoIP Apache module</title>
		<link>http://www.debiantutorials.com/installing-the-geoip-apache-module/</link>
		<comments>http://www.debiantutorials.com/installing-the-geoip-apache-module/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 15:22:09 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[geoip]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=244</guid>
		<description><![CDATA[This module allows you to determine which country, region, city, postal code, area code the visitor is coming from. 1. Install the module apt-get install libapache2-mod-geoip 2. Restart Apache /etc/init.d/apache2 restart 3. Create a new PHP file to test the module (pico /var/www/test.php or any file you can access on your server) &#60;?php print_r($_SERVER); ?&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>This module allows you to determine which country, region, city, postal code, area code the visitor is coming from.</p>
<p>1. Install the module</p>
<p><code>apt-get install libapache2-mod-geoip<br />
</code><span id="more-244"></span></p>
<p>2. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>3. Create a new PHP file to test the module (pico /var/www/test.php or any file you can access on your server)</p>
<p><code>&lt;?php<br />
print_r($_SERVER);<br />
?&gt;<br />
</code></p>
<p>4. Navigate to the new file in a web browser (http://yourserver/test.php)</p>
<p>The response will be something like this:</p>
<p><code>Array<br />
(<br />
    [GEOIP_COUNTRY_CODE] => GB<br />
    [GEOIP_COUNTRY_NAME] => United Kingdom<br />
	...<br />
)<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-the-geoip-apache-module/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install XCache</title>
		<link>http://www.debiantutorials.com/install-xcache/</link>
		<comments>http://www.debiantutorials.com/install-xcache/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 23:08:53 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xcache]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=233</guid>
		<description><![CDATA[XCache is a fast, stable PHP opcode cacher that has been tested and is now running on production servers under high load. It overcomes a lot of problems that has been with other competing opcachers such as being able to be used with new PHP versions. 1. Installing the XCache package apt-get install php5-xcache 2. [...]]]></description>
			<content:encoded><![CDATA[<p>XCache is a fast, stable  PHP opcode cacher that has been tested and is now running on production servers under high load. It overcomes a lot of problems that has been with other competing opcachers such as being able to be used with new PHP versions.</p>
<p>1. Installing the XCache package</p>
<p><code>apt-get install php5-xcache<br />
</code><span id="more-233"></span></p>
<p>2. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>That's it. XCache is now installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/install-xcache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing suPHP</title>
		<link>http://www.debiantutorials.com/installing-suphp/</link>
		<comments>http://www.debiantutorials.com/installing-suphp/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 22:05:02 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[suphp]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=223</guid>
		<description><![CDATA[suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter. 1. Install suPHP apt-get install libapache2-mod-suphp 2. Disable the php5 [...]]]></description>
			<content:encoded><![CDATA[<p>suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.</p>
<p>1. Install suPHP</p>
<p><code>apt-get install libapache2-mod-suphp<br />
</code><span id="more-223"></span></p>
<p>2. Disable the php5 apache module</p>
<p><code>a2dismod php5<br />
</code></p>
<p>3. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>4. You can test if suPHP is working correctly by creating a php file containing the following lines:</p>
<p><code>&lt;?php<br />
system('id');<br />
?&gt;<br />
</code></p>
<p>The script will return user/group id and name. Make sure you set the file owner to a user/group with id greater than 99.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-suphp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
