Freesco, NND, CDN, EOS
http://forum.freesco.pl/

apache rpzestal dzialac / You don't have permission to acces
http://forum.freesco.pl/viewtopic.php?f=22&t=14591
Strona 1 z 1

Autor:  aphex [ środa, 17 stycznia 2007, 21:26 ]
Tytuł:  apache rpzestal dzialac / You don't have permission to acces

Witam dzis chcialem sobie sprawdzic statystyki i tu moje zdziwienie server wywalil mi cos takiego

: [/] [] ()
Forbidden

You don't have permission to access / on this server.
Apache Server at 192.168.0.1 Port 80


sprawdzilem zaraz logi i zabardzo tego nie rozumiem moze ktos zna temat i moglby mi powiedziec oco w tym wszystkim chodzi.

: [/] [] ()
[Wed Jan 17 19:21:47 2007] [warn] RSA server certificate CommonName (CN) `maciek' does NOT match server name!?
[Wed Jan 17 19:21:47 2007] [notice] Digest: generating secret for digest authentication ...
[Wed Jan 17 19:21:47 2007] [notice] Digest: done
[Wed Jan 17 19:21:47 2007] [warn] RSA server certificate CommonName (CN) `maciek' does NOT match server name!?
[Wed Jan 17 19:21:48 2007] [notice] Apache configured -- resuming normal operations
[Wed Jan 17 19:44:45 2007] [crit] [client 192.168.0.1] (13)Permission denied: /home/httpd/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Jan 17 19:45:17 2007] [crit] [client 192.168.1.1] (13)Permission denied: /home/httpd/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Jan 17 19:45:58 2007] [notice] caught SIGTERM, shutting down
[Wed Jan 17 19:46:01 2007] [warn] RSA server certificate CommonName (CN) `maciek' does NOT match server name!?
[Wed Jan 17 19:46:01 2007] [notice] Digest: generating secret for digest authentication ...
[Wed Jan 17 19:46:01 2007] [notice] Digest: done
[Wed Jan 17 19:46:02 2007] [warn] RSA server certificate CommonName (CN) `maciek' does NOT match server name!?
[Wed Jan 17 19:46:02 2007] [notice] Apache configured -- resuming normal operations
[Wed Jan 17 19:46:12 2007] [crit] [client 192.168.1.39] (13)Permission denied: /home/httpd/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Jan 17 19:46:13 2007] [crit] [client 192.168.1.39] (13)Permission denied: /home/httpd/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Jan 17 19:46:18 2007] [crit] [client 192.168.1.39] (13)Permission denied: /home/httpd/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Jan 17 19:46:43 2007] [notice] caught SIGTERM, shutting down
[Wed Jan 17 19:46:48 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Jan 17 19:46:48 2007] [notice] Digest: generating secret for digest authentication ...
[Wed Jan 17 19:46:48 2007] [notice] Digest: done
[Wed Jan 17 19:46:48 2007] [notice] Apache configured -- resuming normal operations
[Wed Jan 17 19:46:51 2007] [crit] [client 192.168.1.39] (13)Permission denied: /home/httpd/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Autor:  barte-k [ środa, 17 stycznia 2007, 21:53 ]
Tytuł: 

a zmieniales cos w konfigu?
sproboj usunac plik htaccess z katalogu glownego serwera.
jakie ten plik ma w tej chwili permissions? (ls -la .htaccess)

Autor:  aphex [ czwartek, 18 stycznia 2007, 16:34 ]
Tytuł: 

: [/] [] ()
[root@AdSl html]# ls -la .htaccess
-rw-r--r--  1 root root 121 2007-01-17 20:33 .htaccess


Po wykasowaniu pliku htaccess jest to samo w samym konfigu nic nie zmienialem. Chyba przeinstaluje apacha moze cos pomoze :D.

Autor:  Maciek [ czwartek, 18 stycznia 2007, 16:39 ]
Tytuł: 

Najlepiej od razu całe NND :P

Autor:  aphex [ czwartek, 18 stycznia 2007, 16:41 ]
Tytuł: 

No ladnie ciebie jak cos boli to cale nnd przeinstalowujesz ?? :D

Autor:  aphex [ czwartek, 18 stycznia 2007, 16:45 ]
Tytuł: 

Zajelo mi to 3 minuty i dziala juz.

Autor:  mazol [ niedziela, 28 stycznia 2007, 11:30 ]
Tytuł: 

a nie instalowales czasami przed tym problemem z apache konfiguratora RRDtool?

Autor:  aphex [ niedziela, 28 stycznia 2007, 12:25 ]
Tytuł: 

Dokladnie :D konfigurator RRDtool chcialem ustawic sobie wykres z pingiem do hosta. Wydaje mi sie ze jesli masz w konfigu apacha virtuala na innym porcie to tak sie dzieje bo wczesniej jak uzywalem konfiguratora nie bylo takich akcji.

Autor:  mazol [ niedziela, 28 stycznia 2007, 12:44 ]
Tytuł: 

poniewaz jest blad w konfiguratorze :)

http://forum.freesco.pl/viewtopic.php?t ... ht=rrdtool

tutaj opisalem dlaczego tak jest jesli ktos ma Virtualne Hosty w pliku httpd.conf

Na stronie Maraska jest poprawiony juz konfigurator...

A nie trzeba bylo reinstalowac apache'a tylko nadac prawa ponownie...

Nie wiem czy jest poprawiona wersja w repo, jesli nie to pasowalo by wrzucic zeby uniknac tych samych problemow u innych...

Autor:  aphex [ niedziela, 28 stycznia 2007, 12:52 ]
Tytuł: 

Dzieki za info. Ja u siebie tez przed reinstalacja probowalem zmieniac prawa ale to jakos nie chcialo mi dzialac. Czesto musialem reinstalowac od nowa aplikacje ktore wyswietlaly mi staty na WWW. Teraz juz przed konfiguratorem rrdtool chaszuje wpis o virtualhost.

Autor:  mazol [ niedziela, 28 stycznia 2007, 13:34 ]
Tytuł: 

http://marask.pl/?page_id=21

tutaj powinien byc juz poprawiony...

ew wystarczy zmienic wpis:
: [/] [] ()
#odczytanie katalogu glownego Apache
WYKRESY_SCIEZKA=`cat /etc/httpd/conf/httpd.conf | grep -v "^#" | grep DocumentRoot | cut -d \" -f 2`
WYKRESY_SCIEZKA=$WYKRESY_SCIEZKA/rrdtool


na:
: [/] [] ()
#odczytanie katalogu glownego Apache
WYKRESY_SCIEZKA=`cat /etc/httpd/conf/httpd.conf | grep -v "^#" | grep -m1 DocumentRoot | cut -d \" -f 2`
WYKRESY_SCIEZKA=$WYKRESY_SCIEZKA/rrdtool


po tej zmianie wsio ladnie dziala i nic nie zmienia...

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/