homebiznizz.net, homebusiness blog, free open source php-scripts, 
make money, cash, internett, home made, homemade, entrepreneur, 
infopreneur, seo, blogging, earn income, how to, affiliate, problogger
Learn How To Make Money Blogging

Access control by IP-adress in .htaccess

This is a great way to secure your webfolders on the webserver if you have a static IP-adress Internet access.

Put in this code below into a .htaccess file:

AuthName “Access only for webmaster”
AuthType Basic
<Limit GET POST>
order deny,allow
deny from all
allow fromĀ 12.345.678.90
</Limit>

Change 12.345.678.90 with your real IP-adress

If you have a Wordpress install, put this code into a .htaccess file in the “wp-admin” folder. This will lock out all others than you.

It has been posted no comments to this blogpost.
Permalink to this blogentry
Microsoft Store. Hundreds of software titles available to download now.

Enable gzip in .htaccess

By enabling gzip in .htaccess (only on linux/unix servers) you can save bandwidth and load time. Use the code below to insert into a .htaccess file in your website/blog/forum/etc. root directory.

<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl|jpg|png|gif)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>

Check with your web host if you have this apache module enabled: mod_czip.c. It will compress the files for you so they are faster to send to the browser. This supposedly speeds transfer up 35-40%. Then file sizes drop 55-65%.

I have done it on this blog. Hopefully it speeds it up.

It has been posted no comments to this blogpost.
Permalink to this blogentry
Master Teaches You How To Earn Thousands Online From The Comfort Of Your Own Home