Windows Apache (6) mod_perl (3) File Types (33) Internet Explorer (6) Network (11) Passwords (6) Printing Processes (13) Programming (318)
Exchange Links About this site Links to us 

|
General :: Windows :: Apache
Know-how about Apache, the most popular web server. Both Linux and Windows related information,
Articles:
This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.
Featured Article
Blocking (part of) a web site for certain IP numbersQuestion: I want to block AOL users from seeing a certain part of my web site. How can I do this? My web server is Apache.
Answer: Blocking AOL users means blocking certain IP numbers. You need to place all the to-be-blocked content in one folder (directory) - it may have sub directories.
Then in that folder, create a text file named .htaccess. Put the text shown in the box below in your .htaccess file.
In an htaccess file, you begin the line with a hash (#).
Alternatively, you can set up the same in your apache configuration file /usr/local/apache2/conf/httpd.conf. Add a section there that looks like example 3.
A note on the order deny, allow line. You have the choice between deny, allow and allow, deny:
- order deny, allow
The Deny directives are evaluated before the Allow directives. Access is allowed by default. Any client which does not match a Deny directive or does match an Allow directive will be allowed access to the server.
- order allow, deny
The Allow directives are evaluated before the Deny directives. Access is denied by default. Any client which does not match an Allow directive or does match a Deny directive will be denied access to the server.
 | |  | | #--- example 1 -----------------------------------------------
# text file .htaccess in protected directory
# blocking IP range 216.239.0.0 - 216.239.255.255 (Google.com)
order allow,deny
deny from 216.239.0.0/16
#--- example 2 -----------------------------------------------
# text file .htaccess in protected directory
# blockig AOL users
order allow,deny
deny from .aol.com
#--- example 3 -----------------------------------------------
# add this section to your httpd.conf file and restart apache
<Directory /www/no_aol/>
order allow,Deny
deny from .aol.com
</Directory> | |  | |  |
|
| Most recent comments
2010-03-20 19:29:19:
by anonymous
in Dating Scams
on Dating scammer Rose Sedu Mubarka:
This woman is a very big scam artist. She is working in close collaboration with a male figure, who is the one to whom, money will be wire to. There is a possibility they are working with some member ... read more
|
2010-03-20 19:18:45:
by anonymous
in Dating Scams
on Dating scammer Alevtina:
i found the same mail of olga vatrushka , with the same storys as here so its 100% scam
|
2010-03-20 18:56:17:
by [hidden]
in Dating Scams
on Dating scammer Tatyana (photos: Raven Riley):
i have been chating with a person calling herself salima sadik with many of the same pics and more of raven riley. she is good at what she does , also has so called uncle hafiz sadik , and a gran mom ... read more
|
|
2010-03-20 18:32:27:
by anonymous
in Other Scams
on Dating scammer Rose Kimberly in Africa:
I got this too, I knew it was a scam right away for someone who suposedly started off in the UK her english and grammar was a bit dodgey., its a script designed to make you like her very quickly (that ... read more
|
2010-03-20 18:31:05:
by anonymous
in Dating Scams
on Various dating scammers:
HAS ANY ONE SEEN THIS LADY
IF YOU HAVE LEAVE HER ALONE AS SHE IS A SCAMMER FROM RUSSIA.
HER EMAIL IS SUVERASHI28GOOGLEMAIL.COM , HER NAMES ARE VERONICA OR SWEEE
SAYS SHE IS A TEACHER IN A ... read more
|
2010-03-20 17:21:06:
by [hidden]
in Dating Scams
on Dating scammer Sarah Sarpong:
Todd Peck ,,,now that you have showed the World how Stupid you truly are,and how abusive you would be in a relationship with any woman,,LEAVE SARAH SARPONG ALONE,!!Haven't you made enough of a fo ... read more
|
2010-03-20 17:19:22:
by anonymous
in Other Scams
on Another dating / chat scam - USA/ Nigeria connection:
Hello everyone, I met this girl on ALT.com She told me her name was Mary Collins her e-mail address is seeking4rightone@yahoo.com I undersannd she has many. Her story is this she live in NY 2 months ... read more
|
2010-03-20 15:32:39:
by [hidden]
in Dating Scams
on Dating scammer Kseniya:
i have gottn every email and have even sent $1000 to these people and had a hunch that it was not right and it saved me $2000 thank you for whoever posted this info. they even sent the fake passpor ... read more
|
2010-03-20 13:52:09:
by anonymous
in Dating Scams
on Dating scammer Roselin Jemba jembarose@yahoo.com from Monrovia, Senegal:
Thank you so much ,
I have just received same type of letter from one Faith Amah , but curiously i checked around and before sending my letter to her i found this
thank you so much .and i do ... read more
|
2010-03-20 13:29:01:
by mcmillen45
in Dating Scams
on Dating scammer Esther Ansomaa from Accra, Ghana:
Has anyone noticed that most of these ladies(?) are using the same last name? That all are beautiful, no uglies, and all are living with only their mothers and Uncles. And, what is this traditional ma ... read more
|
|