Note: The following apache modules have been renamed by Apache.
Authn/Authz
Some Modules have been renamed and offer better support for digest authentication. For example, mod_auth is now split into mod_auth_basic and mod_authn_file; mod_auth_dbm is now called mod_authn_dbm; mod_access has been renamed mod_authz_host. There is also a new mod_authn_alias module for simplifying certain authentication configurations

Important Notes:
I use xampp for all my webhosting needs, and store it in C:xampp
Get xampp from www.apachefriends.org
Make sure that directory C:xamppApachebin is specified under the System Path variable. We will use a program named htpasswd.exe, that is contained under the mentioned directory, to create a password file for the specified users.
Create the protected Directory
This section will show you how to create directory “lordmwesh” outside the Web-Server’s webroot directory “C:xampphtdocs” using the command prompt.

Open the Windows command-shell via Start » Run… cmd.exe

Change to the drive letter of your Web-Server Suite’s root directory (this is the drive you installed the Web-Server Suite under; for this example we will use drive “C:”)…

…> C:

Change to the path of your Web-Server Suite’s root directory (for this example we will use path “xampp”)…

C:…> cd xampp

Create the directory you want to restrict access to with a user/password prompt (we will create directory named “lordmwesh”)…

C:xampp> mkdir lordmwesh

Change to your newly created directory…

C:xampp> cd lordmwesh

Create user/password file
Continuing from the previous section, we are now ready to use htpasswd.exe to create a file named “.htpasswd”: this file will contain user names with their respective passwords (the passwords will be encrypted before placed under the file).

This 1st line (with switch “-c” — that will not be repeated in the following lines) will create a file named .htpasswd under the current directory (C:xampplordmwesh). The password given will be encrypted by the htpasswd.exe program (due to the “-m” switch — MD5 encryption).

User named “user1” with password “passuser1” is specified 1st…

C:xampplordmwesh> htpasswd -cmb .htpasswd user1 passuser1

Add user named “user2” with password “passuser2” to the .htpasswd file…

C:xampplordmwesh> htpasswd -mb .htpasswd user2 passuser2

Add user named “raila” with password “kibaki” to the .htpasswd file…

C:xampplordmwesh> htpasswd -mb .htpasswd raila kibaki

Configuration — httpd.conf
We can now edit Apache’s httpd.conf file to bring everything together.

Edit file C:xamppapacheconfhttpd.conf

———————-
Make sure that the following two ‘LoadModule’ lines are uncommented, by removing the beginning “#” character…
(These ‘LoadModule’ lines should already be uncommented, by default). This is for
Note that those using Apache1, and Apache2 should check for the correct Module file requred. Apache1 use mod_access.so. Apache2 use mod_authz_host.so

LoadModule access_module modules/mod_access.so #Line 1 for those using Apache1
LoadModule authz_host_module modules/mod_authz_host.so #ine 1 for those using Apache2
LoadModule alias_module modules/mod_alias.so
Uncomment the following two ‘LoadModule’ lines, by removing the beginning “#” character…
(The 1st line is required for directive ‘AuthUserFile’)
(The 2nd line is required for directive ‘Options Indexes’: to display the index of a directory)

LoadModule auth_module modules/mod_auth.so
LoadModule autoindex_module modules/mod_autoindex.so
———————-

Insert code…


Order allow,deny
Deny from all

Alias /lordmwesh “/xampp/lordmwesh”


Order allow,deny
Allow from all

Options Indexes
AuthType Basic
AuthName “Private Access”
AuthUserFile “/xampp/lordmwesh/.htpasswd”
Require valid-user

Save file and Restart Apache…
(from the command prompt type the following)

> net stop Apache
> net start Apache
Test protected Directory
Access http://localhost/lordmwesh/

Enter one of the user/password combinations…
You should now see either the directory structure, or (if you have an index.htmlphp file under the accessed directory) your index file.

To [truly] logout as the user, you must close the browser window.

Advanced Configurations and Features
You can also grant/restrict access to the user/password protected directory with IP addresses…

Replace the original “” block with this updated version…
(or simply replace the first two lines of the original block)


Order deny,allow
Deny from All

Options Indexes
AuthType Basic
AuthName “Private Access”
AuthUserFile “/xampp/lordmwesh/.htpasswd”
Require valid-user

Below the line…

Require valid-user..add the following code…

Allow from 127.0.0.1
Satisfy Any
…if you access the protected area from your local system (IP address — 127.0.0.1), there will be no need to enter a user/password combination.
(Note that you can add multiple “Allow from ip-address” statements to grant access)

…by using the following code instead…

Allow from 127.0.0.1
Satisfy All
…you will have to access the protected area from your local system (IP address — 127.0.0.1) AND will need to enter a valid user/password combination.

——————
further reading
More links
http://httpd.apache.org/docs/2.0/programs/htpasswd.html
http://httpd.apache.org/docs/2.2/new_features_2_2.html#module
http://www.devside.net/articles/windows/password


Here is a collection of useful insights of small things that make life worthwhile. Help the list grow by poping up more insights in the comments area. They will be added to the main list to create a BIBLE OF INSIGHT

1. Compliment three people every day
2. Have a dog
3. Watch a sunrise at least once a year
4. Remember other people’s birthdays
5. Give a tip whenever possible.
6. Have a firm handshake
7. Look people in the eye
8. Say ‘thank‘ you a lot
9. Learn how to play a musical instrument
10. Say please a lot
11. Sing in the shower
12. Use the good silver
13. Learn to make great chilli
14. Plant flowers and trees
15. Own a great stereo system
16. Be the first to say “Hello”
17. Live beneath your means
18. Drive inexpensive cars, but own the best house you can afford
19. Buy great books even if you never read them
20. Be forgiving of yourself and others
21. Learn three clean jokes
22. Wear polished shoes
23. Floss your teeth
24. Drinking champagne for no reason at all
25. Ask for a raise when you feel you’ve earned it
26. If in a fight, hit first and hit hard
27. Return all things you borrow
28. Teach some kind of class
29. Be a student in some kind of class
30. Never buy a house without a fireplace
31. Once in your life own a convertible, or create one.
32. Treat everyone you meet like you want to be treated


Here is a list of very cool stuff that is enjoyable to do on a computer. ou can help expand it by leaving your comments.

1. Create a new notepad file and do not rename it. Let the name remain ‘New Text Document.txt’ Open the file and write “Kibaki hid the facts” without the quotation marks. Then save the file. Who permitted Micr0$oft to get involved in politics?
2. Did you know you can erase CD-R disks and re-write data to them?


I met a Kenyan in hell,
Who recited to me,
His experiences,
Before departure —

“We have had problems,
of bad leadership,
since time in memorial.
All our leaders,
betray us.
Kenyatta was a sell-out.
He pretended,
to be a freedom fighter,
went to the UK,
married a white woman,
worked for dog years,
then came back as a hero…
After 9 years in Jail,
we saw him fit to rule.
He dined with the oppressors;
disarmed,
then thanked the mau-mau,
With nothing,
and set a culture
of people worshiping him.
Every public place bared
either his name,
the name of his son,
the name of his wife,
or the name his cronies.
Central province became
the richest place to be.
It still is.
Coffee became the most prized,
black gold.
Kenyatta acquired land
larger than Rwanda.
And gave his cronies,
some more.
Half the cabinet was his tribesmen.
Anybody who opened,
His mouth,
Danced,
Ask JM
Ask Mboya,
Ask Pio,
Ask … more …
Kenyatta happened to die.
He was the light of Kenya
[kenya-taa].
His son is an MP.
The leader of opposition.
..and,
The president in waiting,

Moi came.
He promised,
to follow the footsteps.
And he did.
and set a culture
of people worshiping him.
Every public place,
every school,
every hospital,
every road,
every cemetery,
every ward,
every bridge,
bared his name.
He created an airport,
In the desert,
Tea became,
the most prized,
black gold.
Coffee died,
Still dead,
Moi acquired land
larger than Rwanda.
And gave his cronies,
some more.
Half the cabinet was his tribesmen.
More naming and renaming.
More land.
Anybody who opened,
His mouth,
Danced,
More killings.
Ask Ouko,
Ask Ochuka,
Ask Muge,
Ask .. Clashes.. Clashes..
And more.
And … many more ..
And ..Wagala,….
Prices inflated.
Deflation never,
happens in Kenya.
He auctioned,
The country,
To the highest bidder,
Half the Cabinet,
was his tribesmen.
Moi went.
His son is an MP.
He is an expert polo player.
He imported,
more cars,
than general motors,
duty free.
He is the happiest man,
on earth.

Kibaki came.
Still has,
larger land,
than Burundi.
A professional golfer.
He served,
Both Moi,
And Kenyatta,
Governments.
All his Ministers were,
professional golfers too.
Prices inflated.
Deflation never,
happens in Kenya.
He auctioned,
The country,
To the highest bidder,
Look at,
Anglo-leasing,
Security contracts,
Artur,
And …. More ….
Half the cabinet,
is his tribesmen.
He created,
half a million jobs,
in river road.
And killed the traders,
in riots with the police.
And put patrols,
in river-road.
Asians can afford to trade
without fear.
Kenyans can afford,
to run,
without stopping.
Because when they stops,
a bullet ………….
The vicious cycle,
continues ………….
More killings,
Then, some more
Ask Mbai ..,
Ask Kisumu residents,
Inspired by Tuju,
Ask … more …
Kenyans,
will never learn,
Kenyatta ii,
Is waiting,
Moi ii,
Is waiting,
Mudavadi ii,
Is waiting,
Ngala ii,
Is waiting,
Mirugi ii,
Is waiting,
Nyaga ii,
Is waiting,
Odinga ii,
Is waiting,
A culture,
Of the,
Ruling class,
Waiting to,
Follow the,
Footsteps.
We are not,
In the third stage,
Nor the second,
Part one is nearing,
The end,
Then part ii,
……………
……………
Who will make,
The ruling class,
DANCE?
Who will stop,
The MUSIC?
I dropped down,
in exhaustion,
And passed,
the baton……..”

— poem by lordmwesh


When you as a Kenyan step into the voting booth in December 2007 to vote for your preferred Counsellor, MP, or Presidential candidate, you have a unique opportunity to personally help shape our national policy and the direction of this country. Please try to never make the mistake of voting a straight party ticket regardless of who is running under party banners. There are virtuous candidates running in small parties and deserve a chance to transform the economy, and leadership norms.

The powers of major parties are turning up the pressure for you not to think for yourself and blindly follow their urging and vote straight ODM, ODM-K or NARK-Kenya. Don’t fall for it!

There are candidates of large parties who do not deserve to be elected. They are tainted, corrupt, and extremely selfish. We know of popular politicians who have wrecked Kenya, are still controlling the economy, and always go back to parliament after five years. This problem is perpetuated by the Voter. Know whom you vote for, regardless of which party they belong to. The old adages ”Bad leaders are elected by good people who don’t vote’’ and “it only takes good people to do nothing for evil to triumph” are timeless and holds true today.

So make sure you vote, and vote wisely


To be sitting and doing nothing, you must be sitting very, very high up.

“A man’s way of doing things is the direct result of the way he thinks about things”
“To think what you want to think is to think truth regardless of appearances” – The science of getting rich

“Our lives begin to end the day we become silent about things that matter” – Martin Luther King Jr.

“Death smiles at us all. All a man can do is smile back” – Gladiator

Every morning a Lion n Gazelle wakes up. The Lion knows it must outrun the slowest gazelle or starve to dealth, a gazelle knows it must outrun the lion or it will be killed…when the morning comes doesnt matter whether you r a Lion o gazelle you better be running …

Bad leaders are elected by good people who don’t vote

“The report of my death is an exaggeration” – Mark Twain

-“The only thing necessary for the triumph of evil is for good men to do nothing.” Edmund Burke

“Power tends to corrupt and absolute power corrupts absolutely” Lord Acton

“… I am inherently gloomy about the prospects of Africa … all our social policies are based on the fact that their intelligence is the same as ours — whereas all the testing says not really … While there is a natural desire to believe all people are equal, people who have to deal with black employees find this not true.” — Dr James Watson