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 :: Linux :: 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-21 07:40:38:
by anonymous
in Dating Scams
on Dating scammer Olga:
She's a busy girl....
Hello!How are you doing?It again Olga!Today such good day and I am very glad to write to you the letter!You read my previous letter to you? I very much would want t ... read more
|
2010-03-21 07:06:56:
by anonymous
in Other Scams
on Dating scammer Rose Kimberly in Africa:
Tina says:
The African(Ghana) man told me of investment opportunities in Africa(Ghana) and he convinced me to come along with lots of money while coming down, which I did. On getting here, all hi ... read more
|
2010-03-21 07:00:26:
by JJ
in Dating Scams
on Dating scammer marina:
An other picture of Marina
|
2010-03-21 06:23:30:
by anonymous
in Other Scams
on Another dating / chat scam - USA/ Nigeria connection:
i am being scammed by a guy called Steven Mcbrain
we have been chatting for about a year now at first things was fine for severals months and then he announced that he had to go to Nigeria fo ... read more
|
|
2010-03-21 04:22:18:
by anonymous
in Dating Scams
on Dating scammer Jamila Alhassan:
Lately Teteh Solomon works with Abdulrahim Mubarak..wtach out for the pair of scammers.
|
2010-03-21 04:03:40:
by anonymous
in Dating Scams
on Dating scammer Nuradeen Sherazu:
Her real name is Teteh Solomon. She is running her scam with a man named Abdulrahim Mubarak. They claim to live at 441 Kanda high ways in Accra Ghana. Abdulrahim's telephone number is 233-249-289-078. ... read more
|
2010-03-21 02:40:54:
by [hidden]
in Dating Scams
on Scammer Jane Mabou from Ivory Coast, Africa:
Hello dear ,
I am happy in your reply to my mail,
How was your day?.mine was cool over here in Dakar Senegal.
My dear like i told you in my first mail, My name is Monica Jammeh from Lib ... read more
|
2010-03-21 02:09:01:
by wanwan
in Dating Scams
on Dating scammer Tatyana (photos: Raven Riley):
@2010-03-17, 01:40:45 (updated: 2010-03-17, 01:48:37)
coltkitt from Foresthill, United States
|
2010-03-20 23:14:51:
by anonymous
in Dating Scams
on Is this Russian girl scamming me? How to recognize scammers:
Ref; Olga Malinkina posted earlier..THANK YOU to whomever posted the links....It is obvious that Olga was using Lera Pashkeeva photo's to try and scam me for money to come visit me in the USA with int ... read more
|
2010-03-20 23:08:34:
by Moon Queen
in Male Dating Scammers
on Dating scammer Romeo Siba Philips:
I know for sure he is a scammer. He took $40k from me and when I did not want to send him any more money he became arrogant, smug, nasty, and went on to another victim. He had claimed to be in Texas w ... read more
|
|