March, 2007 Results

Secure Copy from a Unix-Based Server

Monday, March 19th, 2007

Sometimes I need to pull files from one server to another so I need to use secure copy. This is really simple to do with SSH, but I always seem to forget the command when I need it. SSH allows Unix users to secure their terminal and file transfer connections. Now let’s look at the code:

Once you are where you want to be, the command is:

scp filename.ext ses5909@

First type in scp (the secure copy command), then the filename, followed by your username on the other server, the @ sign, and the IP or host name of the other server. The part I always forget is the colon (:) and you need this or it will not work. Once you’ve executed this, you will be prompted for your password on the other server. Once verified things should transfer to your user directory on the other server.

If you need to copy an entire directory be sure to include the -r and you’re set 🙂

scp -r directory ses5909@

Hopefully this helps someone else out! Do you have any basic commands that you always forget?

Links for the Weekend, 3-17-2007

Saturday, March 17th, 2007

WordPress – From Install to Pimped Out

Wednesday, March 14th, 2007

WordPress has become a leading content management system. Notice that I didn’t say blogging software. I love WordPress so much that I don’t think I will create another website without it, blog or not. And while WordPress is great right out of the box, there are some things you can do to make it even better.

This article will share some plugins, some code adjustments and some tweaks that will make your website more user-friendly, easier on your web server, and possibly increase your traffic.

It should be said that this list is not all encompassing; it doesn’t list every plugin that I use Rather, it’s a list of some of the more popular amendments to WordPress that should be done immediately following an install.

So if you’re ready to pimp out your site, let’s begin.


No Margin For Error

Monday, March 12th, 2007

How many times have you heard someone say: “Why does my site look different in IE than in Firefox”?

This is a common question in the CSS forums and one I encounter almost on a daily basis. Therefore I am going to go right back to basics for this article and explain the fundamental reason why your site may look slightly different in various browsers.


Links for the Weekend, 3-10-2007

Saturday, March 10th, 2007

com/karl-fischs-did-you-know-presentation-remix”>Karl Fisch’s Did You Know? – must see! nice work tomas

  • com/guide/”>Couchville TV Listings – cool click and drag interface

  • com/2007/interview-with-muhammad-saleem-social-media-professional/”>Interview with Muhammad Saleem, Social Media Professional – interesting, very interesting – can we get some diggs here?!

  • Posted in Links for the Weekend | 2 Comments »

  • Question – To Theme or Not?

    Friday, March 9th, 2007
    hogan uomo scarpe
    kate spade outlet
    mbt milano
    hollister deutschland

    I have received several e-mails in the last month asking me if Posted in Stuff | 8 Comments »

    Stop Site Scraping

    Tuesday, March 6th, 2007

    A few days ago my partner John, noticed that our web sites content was being scraped. It wasn’t all that concerning at the time, but last night he did some keyword searches on Google to check our rankings and noticed that the site with our stolen content actually ranked higher than ours!

    This was obviously a problem. So, we immediately needed to figure out what steps to take. John sent a DMCA to Google as I put together a cease and desist letter to send off to the site owner, domain registrar, and their host. During all of this, we were determining the IP address of the site. We did a whois on their domain name which resulted in 3 different IPs and when we pinged their domain we found a forth.

    In order to block their domain ranges we added the following to the .htaccess file:

    Order Deny,Allow
    Deny from

    This will block access for any user with an address in the to range.

    John then thought of a way to use this to our advantage. What if we detected any traffic from their domain and instead of blocking it, we redirect it to our homepage so they become OUR visitors. We created a rewrite condition like:

    RewriteCond ${HTTP_REFERER} ^123\.123\.123\.
    RewriteRule .? index.php [R=301,L]

    This should redirect anyone from their domain to our homepage. Now to just see if it works!

    You may also want to stop people from linking to your images, javascript, swf, and css files. This is known as HotLinking, and it cost you bandwidth when they do it. If you would like to prevent HotLinking then add the following to your .htaccess file.

    # START Prevent HotLinking
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?*$ [NC]
    RewriteRule \.(gif|jpg|js|css|swf)$ - [F]
    # END Prevent HotLinking

    This will prevent HotLinking to your gif, jpg, js, css and swf files. Just remember that mod_rewrite should be enabled for this to work.

    You may also decide you want to replace a HotLinked image with your own image. To do this add the following to your .htaccess file:

    RewriteEngine On
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?*$ [NC]
    RewriteRule \.(gif|jpg)$ [R,L]

    Now when they link to one of your images it will display the alternate image that you provided.

    Hope this helps someone out there…

    And finally, if you need to find any merchant account related information… don’t visit the imposter’s, visit the Ultimate Merchant Account Resource.

    mulberry sale spyder womens jacket cheap new balance 574 mulberry outlet cheap new balance 574 arcteryx outlet mulberry sale spyder womens jacket mulberry sale spyder womens jacket mulberry outlet mulberry outlet new balance 574

    Popular Articles

    Top 10 Commentators


    Random Bits Podcast

    You need to download the Flash player from Adobe

    Blogs Worth Reading