TechMynd, Fresh Downloads and Latest Technology News, Stuff That Works | Downloads, Tips & Tricks, Softwares, Programming, Resources, IT, Computer, Resources, Freewares




Use mod_deflate to Compress Web Content delivered by Apache

One of the most efficient methods to reduce the usage of bandwidth by the web server and, at the same time, increase the speed of the content delivery is to compress your web pages and, generally, all output that is returned to the clients. This article describes how to use the mod_deflate module to compress Apache’s output on-the-fly.

Create a file named deflate.conf and import it in the main server’s configuration using the Include directive.

(Include /path/to/deflate.conf):
#
# mod_deflate configuration
#
LoadModule deflate_module modules/mod_deflate.so
<IfModule mod_deflate.c>
        AddOutputFilterByType DEFLATE text/plain
        AddOutputFilterByType DEFLATE text/html
        AddOutputFilterByType DEFLATE text/xml
        AddOutputFilterByType DEFLATE text/css
        AddOutputFilterByType DEFLATE application/xml
        AddOutputFilterByType DEFLATE application/xhtml+xml
        AddOutputFilterByType DEFLATE application/rss+xml
        AddOutputFilterByType DEFLATE application/javascript
        AddOutputFilterByType DEFLATE application/x-javascript
        DeflateCompressionLevel 9
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        DeflateFilterNote Input instream
        DeflateFilterNote Output outstream
        DeflateFilterNote Ratio ratio
        LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
</IfModule>

This configuration will be inherited by all virtual hosts.

To disable it just comment out the line that loads the mod_deflate module (#LoadModule deflate_module modules/mod_deflate.so).

To record mod_deflate’s specific variable (instream, outstream, ratio) values for a virtual host, just add a new log file of type deflate:

CustomLog /path/to/vhost/logs/deflate_log deflate

This will give you an idea of how efficient is the use of mod_deflate in that particular host.

Read More About mod_deflate

http://httpd.apache.org/docs/2.0/mod/mod_deflate.html
http://www.howtoforge.com/apache2_mod_deflate
mod_deflate to compress web content by apache

I asked my host support about it. They told me that they already do this technique for every website. wow. Happy Hosting, Happy Customer :)

Do you compress your web content? What method do you prefer?

Tags: , , ,
Posted in: Tips & Tricks, Web Hosting
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Best Web Hosting Provider

What makes a web hosting provider The Best?

According to my experience, following things matter most;

Security

How much secure their servers are? How much they pay attention towards your data security and their servers structures.

Support

How much support they provide you? When I say support, it means not the tools to get intouch with host which they provide to you, but it means how much they support you in the time of need and in the time of crisis. When something bad happens or your website i.e. it crashes or data damages in case of illegal external intrusion then what is their behaviour? They might provide you an online fancy chat for support but this is not sufficient.

Every host boasts about UNLIMITED bandwidth and UNLIMITED resources. To tell you the truth it is not reality. There is always downtime and quota limit at shared servers which most of us purchase.

We need a webhost which is fair, which means they tell you exactly the condition inwhich their servers and status of their servers is, reliable, secure and supportive.

Recently I went through a crisis and I found a new host. I have not spent much time with them but I am pretty sure they are the best. The reasons and features which are behind this thought are following.

  • They are at Unix Systems (Even Linux is not fully secured as Linux has got many users now a days so hackers too)
  • They are open to their customers and they let them know the real status of servers and inform them in advance about whatever condition is
  • They have got live feed about their ongoing status and servers activity
  • They have got a nice and interesting blog which I really liked to read
  • Their voice is clear, Services are straight
  • They have got lots of cool stuff which other hosts do not have
  • They have got DHSOTM (You can include your website in competition and win rewards)
  • You can collect donations from you visitors for your hosting expenditures which they handle and you do not need to worry about
  • They are green
  • They have got referral reward for you (When you recommend somebody to them, they reward you)
  • They offer 500GB storage with 5TB bandwidth which increases as you go with them
  • Unlimited databases, backups, cron jobs
  • Goodies (Cool tools for your website),
    Flash Media
    Jabber Messenger for your website for live communication with your users
    Media Streaming Support with quick time
    and much more…

This is Hosting of your Dreams. Yes, They are DreamHost.
I am a happy DreamHost customer and because of that, they say that I am green, becuase they are green.

http://www.dreamhost.com/
DreamHost Blog
DreamHost Demo Login

Tags: ,
Posted in: Web Hosting
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Web Hosting Nightmare

Web hosting has been always a tricky question for webmasters. Sometimes you get satisfied with current hosting provider but its all a matter of time. I have experienced a loss recently. Mistakes might be mine also but some hosts do not cooperate enough to secure you but they leave you in critical time. I will not name the host. But I will reveal a critical situation I have been in. My Web hosting account was hacked. Web host suspended away my account and recommended me to move host.

Possible Reasons Involved

  • I was busy and away from my web account
  • I was using old versions of WordPress software
  • I was not aware of critical threat about website vulnerabilities
  • Too much reliance on host
  • Uploading of different open source software at my web host for checking purpose
  • Uploading of unsecured forms

Consequences

My hosting provider scanned my website and suspended my account. They informed me that there are some malicious scripts at my website. I checked these and deleted which I could find. Soon enough there were more found and support from host told me to move host.

What I had To Do

They suspended my account. My seven websites Including blogs also went down (These were at same web account). I had just Control Panel and ftp access. I downloaded data and databases. Setup blogs at local host. Exported my posts. Got shifted to new host. Transferred domain names. Uploaded new WordPress software. Imported posts. Took long time.

What Web Host Could Had Done

  • They could told me all vulnerabilities and locations of scripts to me so that I could get rid of those
  • They could advise me to download all data and after cleaning upload it
  • They could themselves remove all vulnerabilities as I gave them permission to do so because they are supposed to be more technical in this

After This What I Could Conclude

  • Web host will suspend your account and can delete it anytime whenever they will feel that you are in trouble and they will tell you to move host, doesn’t matter you tell them that you are not quiting and will try to fight back against threats
  • Always upgrade new version of software
  • Get a website scanner and scan website for cross site scripting threat and other vulnerabilities
  • Well manage your .htaccess and robots.txt file
  • Take care about directories and file permissions
  • Do not upload unnecessary open source CMS or scripts for checking unless you know about it fully
  • Get a Unix based web hosting
  • Do not put all websites in one webhosting account (If you have enough budget then I will recommend you to take separate web hosting account for each domain and website)

My Recommendation

Know More About WordPress Vulnerability

Old wordpress version can get your blog banned from google
Wordpress SQL injection vulnerability
Wordpress upgrade importance
Wordpress Vulnerabilities list, Blog watch
Wordpress Exploit Scanner Plugin
How to know that your blog is vulnerable or being hacked

Tags: , , , , , ,
Posted in: Blogging, Security, Web Hosting
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Free PHP MySQL Supported Cpanel Based Hosting

free-webhosting.jpg
000webhost is user donations supported free web hosting service with CPanel Control Panel and Fantastico enabled. They provide you the most reliable and feature-rich web hosting service without advertising. Lightning fast website loading speed, zero downtime, fanatic user support and instant activation.

250MB Disk Space, 100GB Data Transfer

They have enough room for your website, emails and databases. All their servers are also connected to dedicated 10mbps internet lines, so we can give you 100 GB data transfer absolutely free.

PHP With MySQL Database Supported

Unlike other free webhosts they support PHP and MySQL with no restrictions. You get full access to the latest version of PHP and MySQL. The following PHP features are fully supported:

  • PHP mail() function and Sendmail
  • Curl, GD2 library, ImageMagick, Zend
  • fopen() and PHP sockets
  • safe_mode is OFF, file uploads ON
  • Zend Optimizer support, Ioncube loader.. and much more features are enabled
Tags:
Posted in: Web Hosting
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Best Web Host For Blog

truestory.gifA good Web Hosting service is an essential issue about which a serious webmaster or blogger thinks sooner or later. When it comes to Web Hosting Providers there is a lot much confusion.
What are key features which a web host must have to qualify the best.

  1. More Web Hosting Space
  2. More Monthly Bandwidth
  3. Quick and Responsive 24/7 Customer Support
  4. Easy to use Hosting Panel
  5. Secure and Fast Servers
  6. Affordable and Reliable Solutions
  7. Built-in Ready to Use scripts and Programs (Fantastico)
  8. Fast Setup and More Databases

Web Hosting Space and Bandwidth are very crucial issues.
Why we need more bandwidth and space?
Because a blog is not a simple website which may be dormant most of the time. Blog grows and expands via visitors and users. Blog is a kind of live and active community which grows rapidly. I started my blogs at a very small host in very small budget which had already my personal website hosted on it. I never felt any problem regarding bandwidth until I started blogs at my host. To be truthful I received calls from my resellers that their servers are not capable of software of blogging and I must consider about purchasing a whole dedicated server which will cost me more. Actually lot more.

I searched many hosts. Besides this I was working on a big multimedia content website which is hosted on GoDaddy. That friend had 200GB of hosting package with GoDaddy which is now available as 250GB. He was not satisfied with the host because it used to go down sometimes due to load. They also suggested him to have a dedicated server. His issue was much much bigger as his content included audio, video, softwares and downloads. He moved towards IXwebHosting which claimed to provide Unlimited Web Hosting Space etc etc. But within days he realized that story behind was different. He moved again to GoDaddy and purchased three more hosting accounts with 200GB facility each and got divided his databases into portions and kept these at different hosting accounts to overcome data load. I do not suggest such host which costs you more money and more time upon website management also.

Many Web Hosting Service Providers boost about their huge resources but they just say it and bandwidth issue occurs everywhere. I had talked to a very successful blogger StevePavlina who runs a Motivational blog. But he was on dedicated servers ServInt Internet Services and the packages there were very high for Virtual Private Servers.
Further browsing and I extracted a list of best hosting providers but everywhere packages were high and web space was less.

Then I came across WordPress recommendations for Hosting Providers. Another friend of mine who was already running a successful blog recommended me of BlueHost which is also recommended by WordPress for their software platform. I finally made my decision and got a package from BlueHost and now I am completely satisfied with that.

Features

  1. 1500 GB Disk Storage
  2. 15,000 GB/month Transfer or Bandwidth
  3. $6.95 /month (1500 GB space + domain)
  4. $10 /year for another Domain Name
  5. Unlimited Websites under same hosting
    (Just purchase another domain name and attach it with another folder in your hosting)
  6. Unlimited Domains
  7. 1000 FTP additional Accounts
  8. Ready to use Plugins and Scripts
  9. Secure Shopping Carts
  10. Free Search Engine Submission

and lot more…

I have not found any other such affordable and reliable host matching with these features. I am using BlueHost and I recommend you the same. You can share with me your experiences here, about your hosting company and your review about it.

Tags: ,
Posted in: Blogging, Web Hosting
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment



  Subscribe Via RSS
  Subscribe Via Email

Add to Technorati Favorites

Donate towards TechMynd web hosting Bill!