Thursday, February 25, 2016

نہ خود رہو اداس

ہر رشتے میں یقین رہنے دو؛
 زبان پر ہر وقت مٹھاس رہنے دو؛
 یہی تو انداز ہے زندگی جینے کا؛
 نہ خود رہو اداس،
 نہ دوسروں کو رہنے دو ..

Saturday, February 20, 2016

How to disable directory browsing using .htaccess – Apache Web Server

Disable directory browsing using .htaccess:-

  • Open your .htacces file
  • Look for Options Indexes
  • If Options Indexes exists modify it to Options -Indexes or else add Options -Indexes as a new line
  • The directory browsing feature should be disable by now

Disable directory browsing using httpd.conf:-

  • Open your httpd.conf, normally it’s located at /usr/local/apache/conf or /etc/httpd.conf
  • Go to your own Virtual Host settings and look for “Options Indexes
  • Change the Indexes to -Indexes if Option Indexes exists or else add the Options -Indexes line
  • Restart your apache web server.
  • The directory browsing feature should be disable by now

Disable directory browsing in CPanel Share Hosting enviroment:-

  • Login to your CPanel
  • Click on Index Manager
  • Directory will be list down. Click on the directory name which you want to disable the directory browsing
  • Select No Index and click Save
  • The directory browsing feature should be disable by now
Once you disable directory browsing, visitor will not able to browse your directory by accessing the directory directly (if there is no index.html file). This will protect your files from exposing to the public.

Monday, February 15, 2016

سمندر پانی

سمندر سب کے لیے ایک جیسا ہی ہوتا ہے لیکن کچھ لوگ اس میں سے موتی تلاش کر لیتے ہیں ، کچھ مچھلیاں پکڑ لیتے ہیں اور کچھ کو سمندر سے کھارے پانی کے سوا کچھ بھی نہیں ملتا ۔

بادل سے برسنے والا پانی ایک جیسا ہی ہوتا ہے ۔
زرحیز زمین اسی پانی سے سبزہ اگا لیتی ہے ،
صحرا کی ریت اس پانی سے اپنی پیاس بجھاتی ہے اور وہی پانی چکنے پتھروں کو محض چھو کر گزر جاتا ہے ۔

Thursday, February 04, 2016

30 Things to Do in Europe Before You Die

1. Ride a bike around Amsterdam
2. Sip coffee with a view of the Eiffel Tower
3. Visit Disney Land Paris - France
4. Take a selfie (from very far away) with the Mona Lisa
5. Stare out a member of the Queen's Guard (and lose, always lose) at Buckingham Palace
6. Make a snow angel on the Jungfrau
7. Shop for treasures in the Grand Bazaar (DONE)
10. Visit two nations in a day as you cross the Bosphorus River in Istanbul. (DONE)
11. Visit Qurtuba mosque in Spain
12. Party at Kings Day in Amsterdam
13. Take a ride London eye
14. Visit the smallest country in the world, the Vatican City
15. Swim in the crystal clear waters surrounding the Amalfi Coast
16. Take a horse and carriage ride through Krakow's old town
17. See the culture on at the opera in Vienna
18. Brave a black run on the slopes of Hopfgarten
20. Visit Madrid - Spain
21. Explore Rome Italy
22. Explore the mystical fjords of Norway
23. Visit Greece
24. Make winter holidays in Switzerland
25 Learn about one of the longest (and still unfinished) construction projects in history, the Sagrada Familia, in Barcelona
26. Feel all kinds of stylish soaking up the sun in Nice
27. Get snap happy on the picture perfect island of Santorini

28. Step back in time at the Acropolis in Athens
29. Fly (or fall, gracefully) like a bird as you skydive over the Swiss Alps