<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>World of *Nix &#187; HowTo</title>
	<atom:link href="http://www.lavluda.com/category/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lavluda.com</link>
	<description>by S. M. Ibrahim (lavluda)</description>
	<lastBuildDate>Sun, 16 May 2010 16:23:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.5.3" -->
	<copyright>Copyright &#xA9; 2010 World of *Nix </copyright>
	<managingEditor>lavluda@yahoo.com</managingEditor>
	<webMaster>lavluda@yahoo.com</webMaster>
	<category>posts</category>
	<image>
		<url>http://www.lavluda.com/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>World of *Nix &#187; HowTo</title>
		<link>http://www.lavluda.com</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>by S. M. Ibrahim (lavluda)</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &amp; Culture" />
	<itunes:author></itunes:author>
	<itunes:owner>
		<itunes:name></itunes:name>
		<itunes:email>lavluda@yahoo.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.lavluda.com/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Website optimization 02: enable deflate /output compression (debian/ubuntu)</title>
		<link>http://www.lavluda.com/2008/11/14/website-optimization-02-enable-deflate-output-compression-debianubuntu/</link>
		<comments>http://www.lavluda.com/2008/11/14/website-optimization-02-enable-deflate-output-compression-debianubuntu/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 09:37:37 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian GNU/Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Helps]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.lavluda.com/?p=244</guid>
		<description><![CDATA[On the first post of this series we learned how to disable etags. in this post we will learn how to enable output compression. Before enable this, let me introduce what deflate do. deflate is apache module, that main task is to compress all the output before serving or sending to client. Nowadays most of [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>On the first post of this series we learned how to disable etags. in this post we will learn how to enable output compression.</p>
<p>Before enable this, let me introduce what deflate do. deflate is apache module, that main task is to compress all the output before serving or sending to client.</p>
<p>Nowadays most of the browser are enough expert to handle this. Here main technique  is , apache will send the output in compressed format, after receiving this output your browser will uncompress it and render the formated output.</p>
<p>This tricks will really improve your site performance, because user will get your site with less time and bandwidth.</p>
<p>Let me give you an example: let&#8217;s think if you are using jquery javascript library that size is 94 Kilo bytes, but if you enable the deflate with default configuration, it will be only 14 Kilo bytes. unbelievable right ? believe me, it&#8217;s true. And we are using this on our most popular product http://www.somewhereinblog.net .</p>
<p>OK, now i am showing how you will do this:</p>
<p>first of all you need to enable deflate module. You know i am debian fan, so i am giving commands for debian linux, other linux/unix commands will almost same. as ubuntu is comes from debian, these commands will also work for ubuntu</p>
<p>Open a new terminal and give this command.<br />
sudo a2enmod deflate</p>
<blockquote><p>it will enable deflate. Wait, you are not finish yet. little work left.<br />
create new file called deflate.conf in your apache conf.d folder. and paste the following code:<br />
<code>&lt;Location /&gt;</code></p>
<p># Insert filter<br />
SetOutputFilter DEFLATE</p>
<p># Netscape 4.x has some problems&#8230;<br />
BrowserMatch ^Mozilla/4 gzip-only-text/html</p>
<p># Netscape 4.06-4.08 have some more problems<br />
BrowserMatch ^Mozilla/4\.0[678] no-gzip</p>
<p># MSIE masquerades as Netscape, but it is fine<br />
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html<br />
# Don&#8217;t compress images<br />
SetEnvIfNoCase Request_URI \<br />
\.(?:gif|jpe?g|png)$ no-gzip dont-vary</p>
<p># Make sure proxies don&#8217;t deliver the wrong content<br />
Header append Vary User-Agent env=!dont-vary</p>
<p><code>&lt;/Location&gt;</code></p>
<p>save the file, and restart apache.</p></blockquote>
<p>sudo /etc/init.d/apache2 restart</p>
<p>that&#8217;s all. now you can see the different.</p>
<p>**if you have not enabled header module of apache, please remove the line &#8220;Header append Vary User-Agent env=!dont-vary&#8221; from deflate.conf .</p>
<p>For more customization or option of deflate, please visit http://httpd.apache.org/docs/2.2/mod/mod_deflate.html</p>
number of view: 1789<img src="http://www.lavluda.com/?ak_action=api_record_view&id=244&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2008/11/14/website-optimization-02-enable-deflate-output-compression-debianubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Website Optimization 01: disable ETag in apache (debian/ubuntu)</title>
		<link>http://www.lavluda.com/2008/10/20/website-optimization-01-disable-etag-in-apache-debianubuntu/</link>
		<comments>http://www.lavluda.com/2008/10/20/website-optimization-01-disable-etag-in-apache-debianubuntu/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 15:27:54 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian GNU/Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Helps]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming Help]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[somewherein...]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[ETag]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server optimization]]></category>
		<category><![CDATA[server performance]]></category>
		<category><![CDATA[somewhereinblog]]></category>

		<guid isPermaLink="false">http://www.lavluda.com/?p=230</guid>
		<description><![CDATA[From last few months i am working to optimize our somewhereinblog.net server, because right now we are getting huge amount of hits everyday (1,00,000 + hits). In this series i will describe the tricks that i learned On my first post of this searies i will talk about ETag. Before disable this, first we need [...]


Related posts:<ol><li><a href='http://www.lavluda.com/2009/08/28/download-iphone-sdk-using-wget/' rel='bookmark' title='Permanent Link: Download iPhone SDK using wget'>Download iPhone SDK using wget</a> <small>If you are using slow connection like me and trying...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>From last few months i am working to optimize our somewhereinblog.net server, because right now we are getting huge amount of hits everyday (1,00,000 + hits). In this series i will describe the tricks that i learned <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><br class="spacer_" /></p>
<p>On my first post of this searies i will talk about ETag. Before disable this, first we need to know what is ETags. From wikipedia:</p>
<blockquote><p>An <strong>ETag</strong> (entity tag) is an <a title="Hypertext Transfer Protocol" href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">HTTP</a> response header returned by an HTTP/1.1 compliant <a title="Web server" href="http://en.wikipedia.org/wiki/Web_server">web server</a> used to determine change in content at a given <a title="Uniform Resource Locator" href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator">URL</a>. When a new HTTP response contains the same ETag as an older HTTP response, the contents are determined to be the same without further downloading. The header is useful for intermediary devices that perform <a class="mw-redirect" title="Caching" href="http://en.wikipedia.org/wiki/Caching">caching</a>, as well as for client <a class="mw-redirect" title="Web browsers" href="http://en.wikipedia.org/wiki/Web_browsers">web browsers</a> that cache results. One method of generating the ETag is based on the last modified time of the file and the size of the file.</p>
<p>In certain situations, ETags may not improve the performance of a web application. For instance, some ETag generation schemes incorporate the file&#8217;s <a title="Inode" href="http://en.wikipedia.org/wiki/Inode">inode</a> on the system. The file&#8217;s inode is unique to the file only on one specific machine. If a site has multiple servers, each with its own copy of the file (i.e. <a title="Load balancing" href="http://en.wikipedia.org/wiki/Load_balancing">load balancing</a>), then a user&#8217;s request for the same file may get served by a different machine. In that case, the inode will almost certainly be different and, if it is used to generate the ETag, it will cause the file to be re-downloaded.</p></blockquote>
<p>So, this is not always helpfull for all type of sites. Always remember, if you are not using anything, you should not enable or kept enable on server.</p>
<p>Apache by default enable this ETags. We need to disable this to get better performance. Here i am describing the steps for debian and ubuntu linux.</p>
<p>We will take help from mod_header to disable ETags, so first we need to enable the mod_header (apache module)</p>
<p>sudo a2enmod header</p>
<p>sudo /etc/init.d/apache2 restart</p>
<p>this command will enable mod_header. Now open /etc/apache2/apache2.conf with your faviourate browser.</p>
<p>sudo nano /etc/apache2/apache2.conf</p>
<p>then paste the under given code to this apache2.conf file</p>
<pre>Header unset ETag
FileETag None</pre>
<p>now restart the apache2, and check if it working or not. If every thing OK, then you will not see the etags anymore <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For better understanding i am giving you 2 screenshots.</p>
<p>Before ETag disable</p>
<p><br class="spacer_" /></p>
<p><a href="http://www.lavluda.com/wp-content/uploads/2008/10/beforeetagsdisable.png"><img class="alignnone size-medium wp-image-231" title="before etags disable" src="http://www.lavluda.com/wp-content/uploads/2008/10/beforeetagsdisable-300x178.png" alt="" width="300" height="178" /></a></p>
<p>After ETag disable:</p>
<p><a href="http://www.lavluda.com/wp-content/uploads/2008/10/afteretagsdisable.png"><img class="alignnone size-medium wp-image-232" title="after etag disable" src="http://www.lavluda.com/wp-content/uploads/2008/10/afteretagsdisable-300x194.png" alt="" width="300" height="194" /></a></p>
<p><br class="spacer_" /></p>
<p>If you don&#8217;t have root access to server, you still can do this from .htaccess , just copy that code to .htaccess instate of apache conf file.</p>
<p>Ask me if you have any question or problem about ETag.</p>
number of view: 2399<img src="http://www.lavluda.com/?ak_action=api_record_view&id=230&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.lavluda.com/2009/08/28/download-iphone-sdk-using-wget/' rel='bookmark' title='Permanent Link: Download iPhone SDK using wget'>Download iPhone SDK using wget</a> <small>If you are using slow connection like me and trying...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2008/10/20/website-optimization-01-disable-etag-in-apache-debianubuntu/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>install imagemagick support to your debian/ubuntu server</title>
		<link>http://www.lavluda.com/2008/02/02/install-imagemagick-support-to-your-debianubuntu-server/</link>
		<comments>http://www.lavluda.com/2008/02/02/install-imagemagick-support-to-your-debianubuntu-server/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 14:02:16 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian GNU/Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.lavluda.com/2008/02/02/install-imagemagick-support-to-your-debianubuntu-server/</guid>
		<description><![CDATA[imagemagick is one of the best library to work with image. recently i have to install it to our production server. here is what i did: $ apt-get install imagemagick it downloads the package and all it&#8217;s dependences from debian/ubuntu repository, and installed. now i have to install the support of php (as our product [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>imagemagick is one of the best library to work with image. recently i have to install it to our production server. here is what i did:</p>
<p><code>$ apt-get install imagemagick</code></p>
<p>it downloads the package and all it&#8217;s dependences from debian/ubuntu repository, and installed. now i have to install the support of php (as our product running on php)</p>
<p><code>$ apt-get install php5-imagick </code></p>
<p>then i restarted the apache server to take effect this new package installation. if your using php4 then the package name should be php4-imagick</p>
<p><code>$ /etc/init.d/apache2 restart</code></p>
<p>that&#8217;s all <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>if you need imagemagick for your ruby , you can install the librmagick-ruby package.</p>
number of view: 3488<img src="http://www.lavluda.com/?ak_action=api_record_view&id=119&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2008/02/02/install-imagemagick-support-to-your-debianubuntu-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>how to move your php development environment to linux (Debian/Ubuntu)</title>
		<link>http://www.lavluda.com/2007/08/04/how-to-move-your-php-development-environment-to-linux/</link>
		<comments>http://www.lavluda.com/2007/08/04/how-to-move-your-php-development-environment-to-linux/#comments</comments>
		<pubDate>Sat, 04 Aug 2007 14:11:12 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian GNU/Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[My Works]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming Help]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lavluda.com/2007/08/04/how-to-move-your-php-development-environment-to-linux/</guid>
		<description><![CDATA[Nowadays, lots of php developers are thinking to move their development environment to linux. And I am writing this tutorial for them. As I like Debian GNU/Linux (www.debian.org) best and ubuntu (www.ubutnulinux.org) is now doing great, in this tutorial I am using the commands for debian &#038; ubuntu. Ok, now starting: First on all let’s [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Nowadays, lots of php developers are thinking to move their development environment to linux. And I am writing this tutorial for them. As I like Debian GNU/Linux (www.debian.org) best and ubuntu (www.ubutnulinux.org) is now doing great, in this tutorial I am using the commands for debian &#038; ubuntu.</p>
<p>Ok, now starting:</p>
<p>First on all let’s make a list of software a PHP developer need mostly:</p>
<p>1.Apache<br />
2.PHP<br />
3.Mysql<br />
4.PHP IDE</p>
<p>Ok, let’s start with Apache.  Debian &#038; ubuntu use APT to manage the packages. You can easily install apache using apt, here is the command</p>
<p>Debian user:</p>
<blockquote><p>su</p></blockquote>
<p>Ubuntu user: </p>
<blockquote><p>sudo su</p></blockquote>
<p>Rest of the command ar same for both debian &#038; ubuntu.</p>
<blockquote><p>apt-get install apache2</p></blockquote>
<p>It will install all the apache2 &#038; all the related packages (software)<br />
If you need to enable mod_rewrite, follow <a href="http://lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/">this link</a><br />
Now install the PHP</p>
<blockquote><p>Apt-get install php5 libapache2-mod-php5 </p></blockquote>
<p>This will install the php5 and configure your apache2 server for PHP. You don’t need to do anything.<br />
Lets test the server, if it working ok. </p>
<blockquote><p>touch /var/www/info.php</p></blockquote>
<blockquote><p>Chown www-data:www-data info.php</p></blockquote>
<p>Now edit this info.php with your feviourate editor and add write  code to show phpinfo():<br />
and now browse http://localhost/info.php from your browser. Now check if all your requested library are installed.<br />
if you need any more library, you can check if it already available on your debian/ubuntu package list.</p>
<blockquote><p>apt-cache search php5-</p></blockquote>
<p>then you will get the list of available php5 library. Now simple use this command to install it.</p>
<blockquote><p>apt-get install php5-gd</p></blockquote>
<p>(example, if you want to install php5 GD library)</p>
<p>Remember: after installing every extra packages, you must need to restart apache server</p>
<blockquote><p>/etc/init.d/apache2 restart</p></blockquote>
<p>Ok, so you have now apache2 and php5 installed system. Let&#8217;s install mysql:</p>
<blockquote><p>apt-get install mysql-server-5.0 php5-mysql</p></blockquote>
<p>It will install all the necessary packages to run mysql-server.<br />
Now restart your apache to take effect.<br />
Complete!!!! Server is allmost ready.<br />
Now i am going to derive how you will transfer your old code to this new environment. Belive me it&#8217;s too simple, so don&#8217;t worry.</p>
<p>First of all copy your source code to /var/www, here is the details procedure:</p>
<blockquote><p>mkdir /windows</p></blockquote>
<p>Here we make a folder for C drive of windows to mount.<br />
mount /dev/hda1 /windows<br />
then we mount the C drive to windows folder (here i use hda1 as example, if your hdd is sata then it will be sda1)</p>
<blockquote><p>cp -r windows/Apache2/htdocs/xyz /var/www</p></blockquote>
<p>here we copied our xyz site to /var/www (in debian and ubuntu, default apache2 root folder is /var/www)</p>
<blockquote><p>cd /var/www</p>
<p>chown -R www-data:www-data xyz</p></blockquote>
<p>Now change the ownership to www-data</p>
<p>Now we need to move the mysql database, there is two way:</p>
<p>1.use phpmyadmin<br />
2.simple copy the database from data folder<br />
I am deriving the 2nd way.</p>
<blockquote><p>cp -r /windows/Mysql/data/xyz /var/lib/mysql</p>
<p>chown -R mysql:mysql /var/lib/mysql/xyz</p></blockquote>
<p>You are done.</p>
<p>PHP Ide for linux environment:</p>
<ul>
1.Zend ( i personaly use this)<br />
2.PHPEd<br />
3.PHPEclipse<br />
4.quanta plus<br />
5.emacs<br />
6.vi<br />
7.PHPedit</ul>
<p><!--adsense#banner--></p>
<p>***I know this tutorial needs more edit, please make your comments if you got anything wrong, or missed anything. I want it a cool tutorial for php developers.</p>
number of view: 1587<img src="http://www.lavluda.com/?ak_action=api_record_view&id=100&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2007/08/04/how-to-move-your-php-development-environment-to-linux/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>how to enable mod_rewrite in apache2.2 (debian/ubuntu)</title>
		<link>http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/</link>
		<comments>http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/#comments</comments>
		<pubDate>Sun, 15 Jul 2007 14:57:11 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian GNU/Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Helps]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming Help]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[apache module]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[mod_rewrite]]></category>

		<guid isPermaLink="false">http://lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/</guid>
		<description><![CDATA[Here i am going to describe how to enable mod_rewrite in apache2.2 -specaily for debian. In default installion of apache2.2 on debian never enable mod_rewrite default. So you may need to enable . First install the apache2.2 with this command : debian user please use &#8220;su&#8221; before start this process ubuntu user please use &#8220;sudo [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Here i am going to describe how to enable mod_rewrite in apache2.2 -specaily for debian.</p>
<p>In default installion of apache2.2 on debian never enable mod_rewrite default. So you may need to enable .</p>
<p>First install the apache2.2 with this command :<br />
debian user please use &#8220;su&#8221; before start this process<br />
ubuntu user please use &#8220;sudo su&#8221; before start this process</p>
<p><code>apt-get install apache2 (it will install apache 2.2)</code></p>
<p>now use locate to find if the mod_rewrite.so is availble on your server</p>
<p><code>updatedb<br />
locate mod_rewrite.so<br />
</code></p>
<p>it will found in &#8220;/usr/lib/apache2/modules&#8221;</p>
<p>new apache follow some folders to enable and desuable mods.<br />
so now do this:</p>
<p><code>cd /etc/apache2/mods-enabled<br />
touch rewrite.load<br />
gedit rewrite.load (you may use any editor to edit this file)</code></p>
<p>now paste this following line</p>
<p><code>LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so</code></p>
<p>Then edit /etc/apache2/sites-available/000-default</p>
<p>Find the following</p>
<p>Options Indexes FollowSymLinks MultiViews<br />
AllowOverride None<br />
Order allow,deny<br />
allow from all</p>
<p>and change it to</p>
<p>Options Indexes FollowSymLinks MultiViews<br />
AllowOverride all<br />
Order allow,deny<br />
allow from all</p>
<p>and finally restart Apache</p>
<p>/etc/init.d/apache2 restart</p>
<p>OK, you done <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>don&#8217;t forget to comment, if it works or not.</p>
<p>thanks.</p>
<p><!--adsense#banner--></p>
number of view: 7935<img src="http://www.lavluda.com/?ak_action=api_record_view&id=95&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/feed/</wfw:commentRss>
		<slash:comments>117</slash:comments>
		</item>
		<item>
		<title>subversion installation (1.4.3)</title>
		<link>http://www.lavluda.com/2007/02/07/subversion-installation-140/</link>
		<comments>http://www.lavluda.com/2007/02/07/subversion-installation-140/#comments</comments>
		<pubDate>Wed, 07 Feb 2007 11:06:32 +0000</pubDate>
		<dc:creator>lavluda</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Programming Help]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://lavluda.com/?p=75</guid>
		<description><![CDATA[A great post about subversion of hasin brother. On the new version of subversion 1.4.3 u will need to do some thing more. svn-1.4.3 cann&#8217;t be install as service. U have take help from 3rd party tools. Two of them are: SVNService is a free tool written by Magnus Norddahl (not found) SrvAny is avaliable [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://hasin.wordpress.com/2007/01/17/installing-subversion-server/">great post</a> about subversion of hasin brother.</p>
<p>On the new version of subversion 1.4.3 u will need to do some thing more.  svn-1.4.3 cann&#8217;t be install as service. U have take help from 3rd party tools.</p>
<p>Two of them are:</p>
<ul>
<li><a href="http://www.clanlib.org/%7Embn/svnservice/">SVNService</a> is a free tool written by Magnus Norddahl (not found)</li>
<li><a href="http://support.microsoft.com/kb/q137890/">SrvAny</a> is avaliable free of charge from Microsoft</li>
</ul>
<p>or u can use &#8220;sc&#8221; command to add subversion as service..</p>
<p>Here is the example:<br />
<code>sc create svnserve binpath= "c:\svnserve\svnserve.exe --service --root </code><br />
<code>c:\repos" displayname= "Subversion" depend= tcpip start= auto</code><br />
These command must be entered as a single line.</p>
<p>Here bindpath is the where the svnserve.exe is installed, &#8211;root is the root directory of<br />
repository, displayname is the name that will display on the windows service list, start = auto is used to start this service on system startup.</p>
<p>Hope it will help you <img src='http://www.lavluda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><!--adsense#banner--></p>
number of view: 1491<img src="http://www.lavluda.com/?ak_action=api_record_view&id=75&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lavluda.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lavluda.com/2007/02/07/subversion-installation-140/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 3.094 seconds -->
