Tuesday, February 3, 2009

Thunderbird wrap text problem [sloved]

Well, I saw many people having problem with Thunderbird not wrapping text at the default set 72 chars. Huh, I figured out the solution. The edit/options >preferences > composition > general tab has an entry box saying
"wrap plain text messages at __ characters"

the default set is 72 characters. Now what happens is that most of the mails that we send are HTML or 'unknown' by default. And the entry box says "plain text" not HTML. So, go to the most frequently mailed addresses in your addressbook in thunderbird and select 'plain' text message as the default in the contact details for each. :) it was not a problem, it was just obvious !!

Sunday, February 1, 2009

How to write html tags in blog posts:

In the course of writing my previous post, I also learnt how to write html tags like <hello> in blog posts. All you have to do is substitute the < and > tags by writing

and


respectively

Disabling remote access to phpmyadmin

I installed the LAMP + phpmyadmin combo yesterday on my Ubuntu Intrepid machine for hosting a local website.
But later I realized that the phpmyadmin page, though password protected, was visible throughout my local network! So, to disable remote access to phpmyadmin , add the following code to the end of your /etc/apache2/apache2.conf file ..


# Disabling phpmyadmin for remote access
<directory>
Order Deny,Allow
Deny from all
Allow from localhost
</directory>