Categories
CentOS

SEO – Keyword ranking with Google Analytics

google
Google is busy beta testing their new AJAX driven search engine and with the release of this new AJAX version it’s now possible, with the help of Filters, to allow Google Analytics to track the clicked position of specific keywords on a Google Keyword Search.

Firstly see if you’re using the new search engine, preform a search and then look at the url of the result page. This will assist you later went preforming keyword searches in Google in order to populate you Google Analytics data (most countries don’t support it as of yet).

Standard:
google_filter_search2

AJAX driven:
google_filter_search1

Categories
CentOS

XSLCache is in PECL

Originally developed by NYTimes, XSLCache extension for PHP is finally in PECL repository and ready for it’s first PECL-release.

“The XSL Cache extension is a modification of PHP’s standard XSL extension that caches the parsed XSL stylesheet representation between sessions for 2.5x boost in performance for sites that repeatedly apply the same transform. Although there is still some further work that could be done on the extension, this code is already proving beneficial in production use for a few applications on the New York Times’ website.”

Installation, from now on, should be as simple as pecl install xslcache

I have modified the linux installing guide, Installing and upgrading to PHP 5.2.9 on CentOS and Red Hat Linux 5.3 x86_64 to reflect this change.

Categories
CentOS

SVN Apache LDAP configuration

Apache Configuration

Create a Apache configuration file for Subversion

# vi /etc/httpd/conf.d/subversion.conf
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so


  
  # Enable Subversion
    DAV svn

  # Directory containing all repository for this path
    SVNParentPath			/opt/svn/
    SVNAutoversioning			on

  # LDAP Authentication & Authorization is final; do not check other databases
    AuthBasicProvider			ldap
    AuthzLDAPAuthoritative		off

  # Do basic password authentication in the clear
    AuthType				Basic

  # The name of the protected area or "realm"
    AuthName				"Subversion Repository"

  # The LDAP query URL
    AuthLDAPURL				"ldap://:389/dc=example,dc=co.za

  # Require authentication for this Location
    Require valid-user