LiRul írta:
Hello!
Egy Apache virtualhostban van egy ilyenem:
<Location />
AuthType Basic
... szokasos authos opciok ...
</Location>
A cel az lenne, hogy egyedul a /download folderre ne kerjen jelszot
a kliestol, minden mashova igen.
<LocationMatch "^/[^download]"> igy probaltam, de sajnos a szogletes
zarojelek miatt a benne szereplo karakterek egy tombot alkotnak, igy a
regexp illeszkedni fog minden olyan stringre ami ezekbol a char-okbol
epitkezik, pl. load, nldown stb.
Kerestem neten regexp leirasokat, de mindenhol csak annyit talaltam,
hogy a [^ utan egy tomb kovetkezik az illesztheto karakterekkel.
Csak egy tipp, (nem probaltam):
^(\/download)
--
Ámon Tamás
http://amon.hu
_________________________________________________
linux lista - linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux