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.
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.
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.
“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)
Dec
14
Police at work for Musharraf League
Filed Under Misc, Politics | Leave a Comment
Today I received the attached photo with the following comments:
Police at work in Lahore. If you needed visual proof of pre-poll rigging here it is. The bicycle is the symbol of Musharraf’s PML Q. So much for Musharraf’s claims about fair elections! Every instrument of state will be used to ensure the results are according to Musharraf’s plan, his life depends on it as he knows he violated Article 6.
Even if we say the comment is exaggeration of political activists, isn’t Musharraf trying everything to save himself. He admitted himself on Al Jazeera the other day that he imposed emergency (and sacked the judges) because they were going to give their verdict against him.
My opinion is that, like any desperate man, Musharraf has started to put everything on table.
here’s the photo
Technorati Tags: pakistan politics, musharraf, q leagu

