Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> .htaccess
SET
post
Post #1





Grupa: Zarejestrowani
Postów: 75
Pomógł: 0
Dołączył: 21.07.2004

Ostrzeżenie: (0%)
-----


.htaccess
  1. <?php
  2. ErrorDocument 401 /strona%201/index.php
  3.  
  4. AuthUserFile /strona%201/admin/.htpass
  5. AuthGroupFile /dev/null
  6. AuthName &#092;"Nazwa\"
  7. AuthType Basic
  8. require valid-user
  9. ?>


.htpass (wygenerowany przez htpasswd)
  1. <?php
  2. tomek:$apr1$jU......$.4Kv9ewR.UTsvfYchMiVd.
  3. ?>


otwieram katalog -> wyswietla się form logowania -> wpisuje nazwa uz i haslo -> i nic ?

windows xp,

z góry thx, smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif
Go to the top of the page
+Quote Post

Posty w temacie
- SET   .htaccess   21.12.2004, 19:07:47
- - dr_bonzo   http://httpd.apache.org/docs-2.0/howto/auth.html ...   21.12.2004, 19:22:26
- - SET   zmieniłem i jak dam anuluj to mnie nie przekierowy...   21.12.2004, 19:44:06


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 16:06