Wednesday, November 2, 2011

Apache Http Server, SSL and IIS On Windows XP

Setup:
Windows XP with the following servers installed

Apache 2.2 installed and running
IIS 5.1 Installed and running

Problem:
Whenever I add the following directive to the Apache configuration to enable ssl:
Listen 443 and try to restart Apache, I get the following error:

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:443


My solution:
1. Stop the IIS server
2. Change the Apache configuration
3. Start Apache http server
4. Start IIS server

Good luck!

Sunday, June 12, 2011

RDFa Basic Triple using FOAF

This video provides a glimpse of using RDFa syntax to express a triple using the Friend of a Friend(FOAF) vocabulary. N3 notation is used to explain the Subject Predicate Object format of and RDF triple. The concept of Compact URI̢۪s is also introduced as a way to reduce complexity within a document by providing a unique name for an extensive URI and then using that name each time the URI needs to be referenced.

Sunday, June 5, 2011

Managing Test Users in Facebook



Today I found this cool little application to help create and manage test users for facebook application development. It sounded easy to install so I went ahead and downloaded it.
Facebook Test Users Manager



After installation, I came across couple of issues.

The first one was that in the .htaccess file that came along with the project, the developer had this line:


php_value xdebug.profiler_enable 1


I do not have xdebug enabled on my machine so this caused a misconfiguration error. I had to comment it out.

The second issue was that I was getting the following message:


"SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed".


After a google search came up with this fix (instead of disabling the verification):

  1. download mozila.pam file. See this page for more info: http://davidwalsh.name/php-ssl-curl-error
  2. copy file to C:WINDOWS\system32
  3. Add this to $CURL_OPTS array in facebook.php:

CURLOPT_CAINFO => 'C:WINDOWS\system32\mozilla.pem'

That̢۪s it. I hope it helps somebody

Sunday, May 15, 2011

Windows Live Writer Post

Hey this is a blog post from windows live writer. I think it is cool.

Thursday, March 31, 2011

Magento for Developers: Part 1 Introduction to Magento

What is Magento? It's the most powerful online eCommerce platform in the universe and is changing the face of eCommerce forever.

Of course, you already know that. What you may not realize is Magento is also an object-oriented PHP Framework that can be used to develop modern, dynamic web applications that tap into Magento's powerful eCommerce features.

This is the first in a series of articles in which we're going to go on a whirlwind tour of Magento's programming framework features. Don't worry if you don't follow everything immediately. As you study the system more everything in this article will start to make sense, and you'll soon be the envy of your colleagues stuck working with more primitive PHP systems.

Magento "Knowledge Base" Magento for Developers: Part 1 "Introduction to Magento" eCommerce Software for Growth