Subject: | accès |
Posted by: | Alain I (alain.ic…@free.fr) |
Date: | Mon, 27 Jul 2009 |
Bonjour,
In my httpd.conf (Apache 2.2.8, Linux), I have an alias with :
Config 1 :
<Directory "/xx/yy/">
Order allow,deny
Allow from all
</Directory>
Config 2 :
<Directory "/xx/yy/">
Order allow,deny
Allow from IP1 IP2
</Directory>
I changed from Config 1 to Config 2 to restrict access for IP1 (my IP
adress) and IP2 (IP adress of a friend)
I have 1 success and 2 problems.
1 success : access for IP2 is good (and bad for any adress)
2 problems :
- little : access for IP1 is bad (so I cannot test)
- big : for IP2, access with config 2 is greatly slowler than access with
config 1
Have you a solution for these problems, mainly the second ?
[En d'autres termes, restreindre l'accès à quelques IP ralentit énormément
l'accès à mes pages (en passant de Config 1 à Config 2). Y'a-t-il un moyen
d'arranger cela ? Accessoirement, la permission d'accès à ma propre IP ne
fonctionne pas, ce qui me gène dans mes tests, une solution serait aussi la
bienvenue...]
--
Alain I.