[linux] Protected directories

martin hudec corwin na aeternal.net
Pondělí Prosinec 13 11:11:00 CET 2004


Ahoj,

On Mon, Dec 13, 2004 at 10:59:07AM +0100 or thereabouts, Marecek Peter wrote:
> Postup podla mna:
> vytvorim subor .httaccesss s osahom
> require peter
> AuthType Basic
> AuthName "My protected area"
> AuthUserFile .htpasswd
> 
> vyvorim subor .httpaswd s obasahom
> peter:sifrovane heslo
> 
> ale neviem ci mam nieco nastavit aj v httpd.conf pre apache 2.0
> 

skus toho require user peter zabalit este do

<Limit GET>
require peter
</Limit>

ale to by imho nemalo vadit.

V httpd.conf mas pre ten dany adresar nastavene AllowOverride All?

<Directory /moj/super/megatajny/adresar>
	AllowOverride All
</Directory>


-- 
martin hudec


   * 421 907 303 393
   * corwin na aeternal.net
   * http://www.aeternal.net

"Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws."

   Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
------------- další část ---------------
Netextová příloha byla odstraněna...
Jméno: [žádný popis není k dispozici]
Typ: application/pgp-signature
Velikost: 187 bytes
Popis: [žádný popis není k dispozici]
Url : http://lists.linux.sk/pipermail/linux/attachments/20041213/9f1abb70/attachment.bin 


Další informace o konferenci linux