Jul
10
WE-USB, my (or Kahaf’s) first project is now up and running. You may visit it at http://www.we-usb.com

Quote for their homepage:
WE-usb is a free virtual memory stick service for you to simply store or share your personal photos, videos and documents online.
As stated above, the project was developed and delivered on behalf of Kahaf (software development startup).
It should be noted that I did the backend development for the site (in Ruby on Rails — RoR). Thanks to Gary and Nadeem for their cooperation during the course of the project.
Share This [?]Jul
10
Configuring Apache2 with mod proxy throws 503 Service Unavailable error
Filed Under Misc, RAD | Leave a Comment
Recently I was trying to configure apache2 to act as a proxy to mongrel (Ruby on Rails), so I added the following directives to my httpd.conf
<virtualhost *>
ServerName test.example.com
<proxy *="">
Order allow,deny
Allow from all
</proxy>
# Proxy directives
ProxyPass /phpmyadmin ! # don't want proxy forwarding for phpMyAdmin
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
ProxyPreserveHost on
# Logfiles
ErrorLog /var/log/apache2/test.example.com.error.log
CustomLog /var/log/apache2/test.example.com.access.log combined
</virtualhost>
</pre>In short it has to do something with permissions in SELinux which doesn’t allow httpd to connect to network and the solution is this command:
Thanks to the help found here and here.
Share This [?]Dec
27
Ms. Benazir Bhutto has been killed (in a suicide attack allegedly) today, I don’t know whether I would be able to go to office tomorrow or not.
But the question is, If Musharraf can’t save second most popular leader in the country, how can he provide security to common man. If he has even little self esteem left in him, he should immediately resign.
Share This [?]Dec
26
Merry Christmas and a Happy New Year
Filed Under Misc | Leave a Comment
Marry Christmas and a Happy New Year to all of my readers.
I know the post is a about 10 hours and 29 minutes late , but I was away for Eid Holidays and didn’t have access to internet
Regards,
MI
Dec
20
Eid Mubaarik!
Filed Under Misc | Leave a Comment
Muslims around the world would be celebrating Eid today and tomorrow. I wish all of my readers (of any religion) a happy Eid.
Eid Mubaarik!
May Allah shower His blessings upon all of us.
On this day, My homeland (Pakistan) is being ruled by a dictator and constitutional judges are facing all kinds of brutality at his hands. I appeal my readers (of any country) to contribute to restore the judges and rule of constitution in Pakistan.
Share This [?]“Dark clouds surround us on all sides for the moment but we are not daunted, for I am sure, if we show the same spirit of sacrifice as was shown by Ibrahim, God would rend the clouds and shower on us His blessing as He did on Ibrahim” — M. A. Jinnah (Eid-ul-Azha message, 24 Oct 1947)

