PHP
  Home arrow PHP arrow Managing Secure Protocol in Apache-Based Websites using PHP
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
PHP

Managing Secure Protocol in Apache-Based Websites using PHP
By: Codex-M
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 5
    2009-05-28


    Table of Contents:
  • Managing Secure Protocol in Apache-Based Websites using PHP
  • First Potential Problem: Duplicate Content!
  • Second Duplicate Content Solution
  • Second Potential Problem: 301 Redirection from non-secure to secure protocol

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Managing Secure Protocol in Apache-Based Websites using PHP
    ( Page 1 of 4 )

    When trying to maintain a secure protocol on an Apache-based website, you can expect to deal with certain issues, especially if you're also trying to rank well in the search engines. This article provides you with some solutions for two of the more difficult problems: duplicate content and 301 redirects.

    The secure protocol (https://) is highly important for security, particularly for commercial websites. If you are a beginner with Internet technology you may have met the two most common protocols used by Internet browsers. They are:

    • HTTP (Hypertext Transfer Protocol) is the used protocol for governing the communication between the client (most likely the browser) and the server (where the website contents are located).

    • HTTPS (Secure hypertext transfer protocol) is the protocol for governing the communication between the client and the server, but encrypts the data as it travels in the data communication network, in the form of packets. This makes it impossible for someone to intercept data in the network, because it cannot be understood due to encryption.

    HTTP is common and easy to manage; a lot of website templates will be able to run without problems. But things become a bit complicated when running HTTPS in a website.

    Apache-based websites are common on the Internet today, occupying a higher market share than IIS (Microsoft Servers). The primary reason is simple: Apache is an open source web server, which means it is free to use.

    PHP is the most common server side scripting language; it is commonly used with Apache websites. And in modern online business technology, https is becoming more and more popular due to increasing security risks. Thus, it is necessary to manage secure protocols in Apache websites.

    This article provides tips and solutions to help any web developer effectively manage the two most difficult problems in maintaining the secure protocol side of any website. These are the:

    • Duplicate content

    • 301 redirection from the non-https to http version

    The primary objective is to not cause any issues pertaining to search engine optimization. All recommended scripts in this article will use PHP, as it runs smoothly with an Apache website.



     
     
    >>> More PHP Articles          >>> More By Codex-M
     

       

    PHP ARTICLES

    - Getting Data from Yahoo Site Explorer Inboun...
    - Method Chaining: Adding More Selecting Metho...
    - How to Split a File During an FTP Upload Usi...
    - Expanding a Custom CodeIgniter Library with ...
    - Using the Yahoo Site Explorer Inbound Links ...
    - Building a CodeIgniter Custom Library with M...
    - Building an E-mini Trading System Using PHP ...
    - Completing the MySQL Class with Method Chain...
    - Building Dynamic Queries with Chainable Meth...
    - PHP Encryption and Decryption Methods
    - Building a MySQL Abstraction Class with Meth...
    - Completing a Sample String Processor with Me...
    - Mastering WHILE Loops for PHP and MySQL
    - Method Chaining: Adding More Methods to the ...
    - Method Chaining in PHP 5





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek