[HowTo] Run ASP.NET on Linux With Apache Web Server (Mono + Mod_Mono)

Update Sep 18, 2016: This was my very old article. It might not work anymore. And it is obsolete with today technology. Please use other technology rather than using this. Thanks.Mono is an open source project led by Novell (formerly by Ximian) to create an Ecma standard compliant, .NET-compatible set of tools, including among others a C# compiler and a Common Language Runtime. Mono can be run on Linux, BSD, UNIX, Mac OS X, Solaris and Windows operating systems.With Apache mod_mono we can … Read more...

Linux Spam Filter With SpamAsassin

Are you tired of being spam in your inbox? If the answer is yes you can reduce spam in your inbox by install SpamAsassin on your mail server. Or you can show this post to your networks/web server administrator to install spamassasin at your mail server.Here we will use SpamAssasin with Postfix to handle email spam filter. Postfix is a widely used mail transport agent (MTA) used on many popular Unix/Linux systems. And SpamAsassin is one of the apache project is to filter the email. Below is … Read more...

[TUTORIAL] Password Protected Directory In Apache Web Server

Sometimes you want to make an online application but only for private use or use by some people only. Or you just made an online application but still in testing phase in development, and don't want to make the site go live yet. Or you want a web site or a directory to be protected for security reasons. Or other reasons that you can mention. But the point is you want a whole website or a directory to be password protected.You can make a whole website or a directory password protected with … Read more...

[TIPS] Prevent Image and File Hotlinking From Your Blog

Last couple days i found that some website doing image and file hot-linking to my website. This will steal my bandwidth and make me less visitor to come to my blog. If this happen to you too, don't worry. We can prevent those bandwidth theft by prevent hot-linking by add some lines to our .htaccess file.How do i know that my blog hotlinking? You can test by make a single html file with an image link to your blog, here is the example:if you can see the images, then your site can be … Read more...

[HowTo] Install Curl in PHP5 and Apache

This time i want to share with you how to install Curl in PHP5 in Linux Environtment (I'm using Ubuntu 8.10) and using apache web server, but if you have any question to install php-curl in other environment, feel free to contact me of leave any comment, i will glad to help you.Okay, now let's start with check if php-curl is already installed in your server or not.To check it please follow this step:Create a file in your web server (in Ubuntu it would be in /var/www folder), name it … Read more...

[HowTo]Turn Off Directory Listing in Apache Web Server

Today i found that my web server doesn't make Directory Listing by default. And this can be a vulnerable for WordPress since wp-content directory can be exploit. So test your blog, if your web server doesn't turn off the directory listing by default please follow this steps (only works for Apache web server):Create or Edit existing .htaccess Add this code there: Options -Indexes Save and close .htaccess file Test It!That step will turn off the Directory Listing. Thank you for … Read more...