In some case you need to restrict your virtual host site by IP address. Usually the type of site that handle important information such as Administrator site or web-based database administration site (eg : phpMyAdmin) or else. For example the admin site of your website can be accessed only in Office network. This Apache configuration…
All posts in March 2014
Nice to meet you
This is a #latepost. This post has been on the draft for almost a week. It was late not because of I am busy with work, publishing this post late will make me look busy. Okay, I will tell you what happened last week. I met a Japanese blogger. Her name is Hiroko Yokota. She…
How to export your MongoDB collections to CSV files
For some reasons, we might want to export our data in our mongodb collections into csv files. Is it possible? Yes, it is. Mongodb provide a tools called mongoexport which can used to export your data to JSON or CSV files. Here is the usage example. mongoexport –db pricebook –collection product_specification –csv –fields “product_id,category_id,specs” -o…