1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three margin testing

Thursday, January 14, 2010

Using 301 Page Redirects

Using 301 Page Redirects - GoDaddy Help Center, Search the GoDaddy Knowledge Base

If you renamed or moved pages of your website, a 301 redirect lets you automatically redirect visitors and search engine spiders to your new pages while maintaining your search engine ranking.

For example, you can redirect traffic from oldpage.php (.asp or .jsp) to "http://www.newdomain.com/newpage.html" and retain your search engine ranking and back links.

Use the code below to redirect traffic to your pages using a 301 Redirect.

NOTE: In the code examples below, replace "oldpagename" with the name of your old Web page from which you want to redirect traffic and replace "newpage.html" with the name of the new Web page to which you want to redirect traffic.

PHP

Save this as oldpagename.php

<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.newdomain.com/newpage.html");
exit();
?>

ASP

Save this as oldpagename.asp

<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.new-url.com"
%>

ASP.NET

Save this as oldpagename.aspx

<script language="c#" runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.new-url.com");
}
</script>

ColdFusion

Save this as oldpagename.cfm

<.cfheader statuscode="301" statustext="Moved permanently">
<.cfheader name="Location" value="http://www.newdomain.com/newpage.html">

.htaccess

When using a Linux server with the Apache Mod-Rewrite module enabled, you can create a .htaccess file to ensure that all requests to coolexample.com will redirect to www.coolexample.com, where "coolexample.com" is your domain. Save the .htaccess file in your old website's root directory, which is the same directory as your index file. You can create a .htaccess file with the following code:

RewriteEngine on
rewritecond %{http_host} ^coolexample.com [nc]
rewriterule ^(.*)$ http://www.coolexample.com/$1 [r=301,nc]

Does an SSL Certificate Secure Both www.yourpersonaldomainname.com and yourpersonaldomainname.com

Does an SSL Certificate Secure Both www.yourpersonaldomainname.com and yourpersonaldomainname.com - GoDaddy Help Center, Search the GoDaddy Knowledge Base

Yes, an SSL certificate secures the common name (domain name) listed in the certificate, with or without the "WWW" prefix.

NOTE: In the case of UCC certificates or "Multiple Domain Certificates", only the primary domain name is secured both with and without www.

The Subject Alternative Names (SANs) do not receive the same treatment.

NOTE: Until renewed, certificates issued prior to December 2006 only secure the exact, fully-qualified domain entered as the common name in the Certificate Signing Request (CSR). Thus, a certificate that secures "www.yourpersonaldomainname" does not secure the "yourpersonaldomainname.com."

Wednesday, January 13, 2010

Third Party SSL Certificate Authorities

Open Directory - Computers: Security: Public Key Infrastructure: PKIX: Tools and Services: Third Party Certificate Authorities

  • CAcert - A community driven certificate authority that issues certificates to the public at large for free.
  • Comodo - Provider of 128-bit certificates and various other security related products.
  • Digicert - Certificate authority offering a range of services including PKI and a seal program.
  • Digi-Sign - Bulk vendor of 128-bit certificates offering PKI and verification services.
  • Digital Signature Trust Co. - DST was the first CA to be licensed in the U.S. DST provides PKI-based digital certificate services and electronic commerce solutions for commercial and government clients. DST creates the trust that enables organizations to fully benefit from electronic commerce.
  • Ebizid - Certificate authority offering 128 and 256 bit certificates. Also a provider of various security products including validation and vulnerability testing.
  • Enterprise SSL - Provider of wildcard and single domain 128-bit Comodo SSL warranted certificates for web servers.
  • Entrust.net - Subsidiary of Entrust, Inc. Sells digital certificates that enable Web servers to establish Secure Sockets Layer (SSL) sessions.
  • GeoTrust - Vendor of SSL certificates that features an identity verification program.
  • GlobalSign - The Leading European Trusted Network of Certification Authorities.
  • LiteSSL - Provides secure 128/256 bit ssl digital certificates.
  • Network Solutions: SSL Certificates - Offer digital certificate services and secure seal schemes for websites.
  • Pink Roccade PKI - Netherlands based reseller of Verisign certificates.
  • ProntoSSL - Reseller of 128Bit QuickSSL Premium, RapidSSL and Geotrust Verified Domain Certificates.
  • QualitySSL - A Denmark based provider of 128 bit certificates and identity assurance products.
  • Rapid SSL - Provider of 256 bit single root install SSL Certificates.
  • Secure SSL - Provider of Comodo 128 bit SSL certificates and web identity services.
  • SimpleAuthority certification authority - A free certification authority that can be used to generate keys and certificates for secure email, client and server SSL authentication, VPN access, etc.
  • SSL Certificate Management Site - Site allows users to create, download and store free SSL self-signed certificates.
  • SSL.com - Provider of wildcard, single and multi-year warranted 128-bit SSL certificates for web servers.
  • Thawte Digital Certificates - Global certification authority offering a range of SSL and code signing digital certificate products.
  • Trustwave - SSL certificates authority featuring 256 bit AES encryption.
  • The USERTRUST Network - A Public Key Infrastructure providing SSL Certificates and Digital Signatures.
  • VeriSign - SSL certificates, communications and content delivery, plus security consulting.
  • How can I force my site to add "www." before the URL if visitors don't enter it?

    Zen Cart(tm) Tutorials and FAQs - How can I force my site to add "www." before...

    Scenario:
    Customer types in "example.com" when trying to enter your website.
    In most cases this will let them get to your site fine.

    BUT ... if you've configured your site to use "www.example.com" in all the URLs it generates, then the customer's next click will attempt to change the URL and (on some servers) may log them out if they were attempting login, etc. This is because of the way PHP session security works with setting a session cookie tied to a domain name, etc. The technical details can be read online elsewhere.

    Also, in Internet Explorer, if you are using some fancy flyout CSS effects the addon script that drives this may not be "found" because of the change in domain name ... meaning that the menu won't work until the customer first does another click on your site.

    There are a couple things to keep in mind to handle this:
    1. Always be consistent in your use of your domain name. If you're going to use "www.example.com", be sure to use it exactly that way everywhere. Don't drop the "www." unless you do it consistently in all places.
    2. In your SSL certificate, when you register one, you must specify a domain name. Again, be consistent. If you're using "www." in your URL, use it in your SSL certificate too.
    3. Ensure that your hosting company has configured a "www." address as an alias to your domain name ... so that "both" will work -- otherwise visitors might get a "domain not found" error instead of your site.
    4. If you are running on an Apache webserver, you can set up a .htaccess rule to automatically add the "www." into the URL if the customer forgets to include it. The following is what you'd put in your .htaccess to accomplish this:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^example.com$
    RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

    --------------------
    How to Remove the WWW Prefix from Your Domain Names Using Apache's mod_rewrite

    To redirect any URL starting with (say) www.example.com to example.com, add the following code to your .htaccess file.

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
    RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]

    The above rules checks if the hostname in a URL contains www.example.com. If it does, the visitor is sent to example.com instead.

    To use the rule, change all instances of "example.com" to your actual domain name. For the line beginning with RewriteCond, add a backslash ("\") before each of the full stops (or "periods") in your domain name.


    Tuesday, January 12, 2010

    Google Docs to Allow Storage of Any Type of File

    Google Docs to Allow Storage of Any Type of File - PC World

    Google is opening up its Docs hosted office productivity suite so that users can store any type of file in it, giving the popular software-as-a-service product an important online storage component.

    The functionality will be rolled out over the coming weeks to all Docs users, both the ones who use the stand-alone suite as well as those who use it as part of the broader communication and collaboration Apps suite for organizations.

    Now, Docs users will be able to store all their important files in a single place online, where they can access them from anywhere and share them with other people, according to Google.

    Monday, January 11, 2010

    Facebook获得TechCrunch Crunchies 2009最佳奖

    Congratulations Crunchies Winners! Facebook Takes Best Overall For The Hat Trick

    This year's third annual Crunchies Awards have just concluded, and we're happy to say that it was an overwhelming success. For those that weren't watching, we've included the list of nominees and winners below. Our most sincere congratulations to the winners and to all of the nominees as well. It was an incredibly tight race for many of the categories, and it's safe to say that everyone on this list is at the top of their field.

    We'd like to take a moment to point out Facebook's win for "Best Overall Startup Or Product", which marks the third year in a row that the company has taken home the top prize. Facebook continues to innovate and deploy features at an impressive rate while still showing incredible growth. Ours hats go off to you.

    If you'd like to watch the event for yourself, you can watch an archived version of the live stream here.

    Best Technology Achievement:
    Backblaze
    Bing (Microsoft)
    Chrome OS (Google) (Winner)
    Google Wave (Runner Up)
    PuSH
    Silverlight (Microsoft)

    Best Internet Application:
    Animoto
    Dropbox (Winner)
    Groupon
    MOG All Access
    Posterous
    Yelp (Runner Up)

    Best Social App:
    Aardvark
    Brizzly
    DailyBooth (Runner Up)
    Farmville(Winner)
    SocialVibe
    StockTwits

    Best Bootstrapped StartUp:
    atebits (Tweetie)
    Shoes of Prey
    Tinychat (Winner)
    Wildfire Interactive (Runner Up)
    wizehive
    Wufoo

    Best Mobile Application:
    foursquare (Winner)
    Google Voice
    Gowalla (Runner Up)
    Kindle for iPhone
    Skies of Glory
    Tonchidot

    Best International:
    Amiando
    Jolicloud
    Playfish (Runner Up)
    Spotify (Winner)
    TweetDeck
    vente-privee.com

    Best Time Sink Application:
    Canabalt
    Civilization Revolution (iPhone)
    DailyBooth (Winner)
    I Am T-Pain
    Pandora (Runner Up)
    Zoosk

    Best Design:
    Animoto (Winner)
    Brizzly
    Chrome (Google)
    Clicker
    Facebook Mobile (Runner Up)
    Threadsy

    Best Enterprise:
    Amazon Web Services
    Atlassian (Runner Up)
    Azure (Microsoft)
    Chatter (Salesforce)
    Google Docs/Office (Winner)
    Yext

    Best CleanTech:
    CalStar Products
    Locust Storage
    Picarro
    Sappphire Energy (Runner Up)
    Sun Run (Winner)
    Tendril

    Best New Gadget:
    Apple Magic Mouse (Runner Up)
    Barnes & Noble nook (Winner)
    litl webbookMotorola Droid
    Sonos S5
    Zune HD

    Best Tech PR:
    Brew Media Relations
    LaunchSquad
    OutCast Communications (Runner Up)
    PerkettPR
    Spark (Winner)
    SutherlandGold Group

    Best Angel:
    Betaworks
    Chris Sacca (Lowercase Capital)
    Jeff Clavier (SoftTechVC)
    Ron Conway (SV Angel) (Winner)
    Y-Combinator (Runner Up)
    Yossi Vardi

    Best VC Firm:
    Accel Partners (Winner)
    Charles River Ventures
    Benchmark Capital
    Greylock Partners (Runner Up)
    Sequoia Capital
    True Ventures
    Union Square Ventures

    Founder Of The Year:
    Aaron Patzer (Mint) (Winner)
    Elon Musk (Tesla)
    Jack Dorsey (Square)
    Jeremy Stoppelman & Russ Simmons (Yelp) (Runner Up)
    John Borthwick (Betaworks)
    Omar Hamoui (AdMob)

    CEO Of The Year:
    Josh Silverman (Skype) (Runner Up)
    Marc Benioff (Salesforce)
    Mark Pincus (Zynga) (Winner)
    Neil Young (ngmoco)
    Richard Rosenblatt (Demand Media)
    Tony Hsieh (Zappos)

    Best New Startup Or Product Of 2009:
    Aardvark (Runner Up)
    Bing (Microsoft) (Winner)
    Foursquare
    Hunch
    Milo
    Spotify

    Best Overall Startup Or Product Of 2009:
    Android (Google)
    Facebook (Winner)
    LinkedIn
    ngmoco
    Twitter (Runner Up)
    Zynga

    Featured Post

    Windows和Ubuntu双系统完全独立的安装方法

    http://www.ubuntuhome.com/windows-and-ubuntu-install.html  | Ubuntu Home Posted by Snow on 2012/06/25 安装Windows和Ubuntu双系统时,很多人喜欢先安装windows,然...