🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.www.server-side
5 messages
5 total messages Started by RM Fri, 27 Sep 2019 13:27
apache2 pyta o login/hasło a nie powinien
#61520
Author: RM
Date: Fri, 27 Sep 2019 13:27
17 lines
1520 bytes
Nie mogę sobie poradzić z problemem z Apachem. Miałem w 
~/public_html/.htaccess:

AuthUserFile "/home/robert/application/resources/.htpass"
AuthName "Strony zabezpieczone"
AuthType Basic
require valid-user

i usunąłem ten zapis. Plik .htaccess ma aktualnie atrybuty:
  -rw-rw-r--   1 robert www-data   496 wrz 27 14:07 .htaccess
natomiast public_html:
  drwxr-xr-x   7 robert www-data  4096 wrz 27 15:10 ./
Przebootowałem Linuxa i wołam: lynx http://localhost/~robert
i lynx NADAL pyta o hasło, inne przeglądarki też.
Nie mam innego pliku .htaccess.
Używam Linux Mint i Server version: Apache/2.4.18 (Ubuntu)
Server built:   2018-06-07T19:43:03.
Re: apache2 pyta o login/hasło a nie powinien
#61521
Author: RM
Date: Tue, 01 Oct 2019 18:07
20 lines
1733 bytes
W dniu 27.09.2019 o 15:27, RM pisze:
> Nie mogę sobie poradzić z problemem z Apachem. Miałem w 
> ~/public_html/.htaccess:
> 
> AuthUserFile "/home/robert/application/resources/.htpass"
> AuthName "Strony zabezpieczone"
> AuthType Basic
> require valid-user
> 
> i usunąłem ten zapis. Plik .htaccess ma aktualnie atrybuty:
>   -rw-rw-r--   1 robert www-data   496 wrz 27 14:07 .htaccess
> natomiast public_html:
>   drwxr-xr-x   7 robert www-data  4096 wrz 27 15:10 ./
> Przebootowałem Linuxa i wołam: lynx http://localhost/~robert
> i lynx NADAL pyta o hasło, inne przeglądarki też.
> Nie mam innego pliku .htaccess.
> Używam Linux Mint i Server version: Apache/2.4.18 (Ubuntu)
> Server built:   2018-06-07T19:43:03.

Potrzebuję robić wget ale dostaję Authorization required
Re: apache2 pyta o login/hasło a nie powinien
#61522
Author: RM
Date: Thu, 03 Oct 2019 11:24
20 lines
1755 bytes
W dniu 27.09.2019 o 15:27, RM pisze:
> Nie mogę sobie poradzić z problemem z Apachem. Miałem w 
> ~/public_html/.htaccess:
> 
> AuthUserFile "/home/robert/application/resources/.htpass"
> AuthName "Strony zabezpieczone"
> AuthType Basic
> require valid-user
> 
> i usunąłem ten zapis. Plik .htaccess ma aktualnie atrybuty:
>   -rw-rw-r--   1 robert www-data   496 wrz 27 14:07 .htaccess
> natomiast public_html:
>   drwxr-xr-x   7 robert www-data  4096 wrz 27 15:10 ./
> Przebootowałem Linuxa i wołam: lynx http://localhost/~robert
> i lynx NADAL pyta o hasło, inne przeglądarki też.
> Nie mam innego pliku .htaccess.
> Używam Linux Mint i Server version: Apache/2.4.18 (Ubuntu)
> Server built:   2018-06-07T19:43:03.

Czy mój Apache zapamiętał sobie gdzieś starą wersję pliku .htaccess? Gdzie?
Re: apache2 pyta o login/hasło a nie powinien
#61523
Author: RM
Date: Sat, 05 Oct 2019 14:22
11 lines
1354 bytes
W dniu 03.10.2019 o 13:24, RM pisze:
> 
> Czy mój Apache zapamiętał sobie gdzieś starą wersję pliku .htaccess? Gdzie?

Ktoś mi powiedział:
być może dane z .htaccess zostały dopisane do pliku  konfiguracji domeny 
na serwerze www i powoduje to  problem.
O jaki plik chodzi?

 >> Używam Linux Mint i Server version: Apache/2.4.18 (Ubuntu)
 >> Server built:   2018-06-07T19:43:03.
Re: apache2 pyta o login/hasło a nie powinien
#61524
Author: RM
Date: Sun, 06 Oct 2019 11:22
1 lines
944 bytes
Reinstalacja Apache'a nie pomaga.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads