Charles Menezes
RSS icon Email icon Home icon
  • Happy Republic DAY India..

    Posted on January 26th, 2010 charles No comments

  • “If” By Rudyard Kipling

    Posted on January 19th, 2010 charles No comments

    If you can keep your head when all about you
    Are losing theirs and blaming it on you;
    If you can trust yourself when all men doubt you,
    But make allowance for their doubting too;
    If you can wait and not be tired by waiting,
    Or, being lied about, don’t deal in lies,
    Or, being hated, don’t give way to hating,
    And yet don’t look too good, nor talk too wise;

    If you can dream – and not make dreams your master;
    If you can think – and not make thoughts your aim;
    If you can meet with triumph and disaster
    And treat those two imposters just the same;
    If you can bear to hear the truth you’ve spoken
    Twisted by knaves to make a trap for fools,
    Or watch the things you gave your life to broken,
    And stoop and build ‘em up with wornout tools;

    If you can make one heap of all your winnings
    And risk it on one turn of pitch-and-toss,
    And lose, and start again at your beginnings
    And never breath a word about your loss;
    If you can force your heart and nerve and sinew
    To serve your turn long after they are gone,
    And so hold on when there is nothing in you
    Except the Will which says to them: “Hold on”;

    If you can talk with crowds and keep your virtue,
    Or walk with kings – nor lose the common touch;
    If neither foes nor loving friends can hurt you;
    If all men count with you, but none too much;
    If you can fill the unforgiving minute
    With sixty seconds’ worth of distance run -
    Yours is the Earth and everything that’s in it,
    And – which is more – you’ll be a Man my son!

  • Oracle Application server to support multiple name domains on the same IP using APACHE server.

    Posted on January 14th, 2010 charles No comments

    Changes to be made on the Oracle Application server to support multiple name domains on the same IP using APACHE server.

     1) Backup httpd.conf from the apache/conf folder.

     2) Listen: Allows you to bind Apache to specific IP addresses and/or ports, in addition to the default. Search and add to file : Listen 80

    3) Comment out ServerName [charles1] using # as we will be shifting to virtual hosts configuration and there would not exist one server using this parameter ServerName

    The ServerName directive sets the hostname and port that the server uses to identify itself. This is used when creating redirection URLs. For example, if the name of the machine hosting the web server is simple.example.com, but the machine also has the DNS alias www.example.com and you wish the web server to be so identified.

    4) Add new parameter to file NameVirtualHost 192.168.63.100:80 from #NameVirtualHost *

    With the NameVirtualHost directive you specify the IP address on which the server will receive requests for the name-based virtual hosts. This will usually be the address to which your name-based virtual host names resolve. In cases where a firewall or other proxy receives the requests and forwards them on a different IP address to the server, you must specify the IP address of the physical interface on the machine which will be servicing the requests. If you have multiple name-based hosts on multiple addresses, repeat the directive for each address.

    5) Move all files from D:\product\10.1.3.1\OracleAS_2\Apache\Apache\htdocs to folder domain1 as D:\product\10.1.3.1\OracleAS_2\Apache\Apache\htdocs\domain1

    6) Create folders domain2 , domain3 , at the same level as domain 1 i.e D:\product\10.1.3.1\OracleAS_2\Apache\Apache\htdocs

    7) Update network DNS/host files with the new domain address and IP, so as to point the domain name to the correct server IP address, the domain names will be resolved up the application server (APACHE) level to point to different website roots. Use ping to check domain name/IP binding on network.

    8 ) Add virtual hosts (uncomment first)

    # domain 1

    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot “D:\product\10.1.3.1\OracleAS_2\Apache\Apache\htdocs\domain1″
    ServerName www.charles1.com
    ErrorLog logs/charles1.com-error_log
    CustomLog logs/charles1.com-access_log common

    # domain 2

    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot “D:\product\10.1.3.1\OracleAS_2\Apache\Apache\htdocs\domain2″
    ServerName www.charles2.com
    ErrorLog logs/charles2.com-error_log
    CustomLog logs/charles2.com-access_log common

    # domain 3

    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot “D:\product\10.1.3.1\OracleAS_2\Apache\Apache\htdocs\domain3″
    ServerName www.charles3.com
    ErrorLog logs/charles3.com-error_log
    CustomLog logs/charles3.com-access_log common

    ** Set different path folder for logging, will help in maintenance of each site hosted individually.

    9)Test new configuration of the httpd.conf by using command line argument C:/> apache –t.

    10)Restart Application server using opmnctl stopall followed by opmnctl startall

    11)Check for all domains in IE

  • TAP e Aeroporto de Lisboa ao rubro!

    Posted on January 6th, 2010 charles No comments

  • Burj Dubai, the world’s tallest building

    Posted on January 5th, 2010 charles 2 comments

  • got ma Uk visa done..

    Posted on January 2nd, 2010 charles 2 comments

    got ma Uk visa done..

  • Happy New Year – 2010

    Posted on January 1st, 2010 charles No comments

Switch to our mobile site