First show us code from the page you are running. For example, are you trying to access a page called example.php in your browser? Show us the what is in example.php if it's not too big. Otherwise show us the relevant code that specifies or attempts to navigate to a cgi application. Telling us you got an error without telling us what you did doesn't give us enough information.