Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
jak ustawic autentykacje uwierzytelnianie dla apacza
robie tak ale bez efektu:
htpasswd -c /etc/apache2/htpasswd user
<VirtualHost accounting.da.com:80> ServerName accounting.da.com DocumentRoot /srv/www/accounting ErrorLog /var/log/apache2/accounting.da.com-error.log CustomLog /var/log/apache2/accounting.da.com-acces_log combined UseCannonicalName On ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/" <Directory "/srv/www/cgi-bin"> AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> <Directory "/srv/www/accounting/"> AuthType Basic AuthName "Accounting Intranet" AuthUserFile /etc/apache2/htpasswd Require user user Options Indexes FollowSymLinks AllowOverride None Order deny,allow Allow from all </Directory> </VirtualHost>
Ostatnio edytowany przez azhag (2010-02-26 23:11:57)
Offline
moduly wlaczone do konfiguracji, serwer przeladowany, co mowia logi?
Ostatnio edytowany przez bercik (2010-02-26 23:53:53)
Offline
cat /var/log/apache2/accounting.da.com-error.log [Fri Feb 26 21:39:18 2010] [error] [client 127.0.0.1] File does not exist: /srv/www/accounting/favicon.ico [Fri Feb 26 22:04:02 2010] [error] [client 127.0.0.1] File does not exist: /srv/www/accounting/favicon.ico
cat /var/log/apache2/accounting.da.com-acces_log 127.0.0.1 - - [26/Feb/2010:21:25:26 +0000] "GET / HTTP/1.1" 200 120 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)" 127.0.0.1 - - [26/Feb/2010:21:33:17 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)" 127.0.0.1 - - [26/Feb/2010:21:33:19 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)" 127.0.0.1 - - [26/Feb/2010:21:33:19 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)" 127.0.0.1 - - [26/Feb/2010:21:33:20 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)" 127.0.0.1 - - [26/Feb/2010:21:38:35 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)" 127.0.0.1 - - [26/Feb/2010:21:38:38 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)" 127.0.0.1 - - [26/Feb/2010:21:39:18 +0000] "GET /favicon.ico HTTP/1.1" 404 268 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)" 127.0.0.1 - - [26/Feb/2010:21:43:44 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)" 127.0.0.1 - - [26/Feb/2010:21:43:45 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)" 127.0.0.1 - - [26/Feb/2010:22:03:58 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)" 127.0.0.1 - - [26/Feb/2010:22:04:02 +0000] "GET /favicon.ico HTTP/1.1" 404 268 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)"
cat /var/log/apache2/error.log [Fri Feb 26 20:02:11 2010] [notice] Apache/2.2.9 (Debian) configured -- resuming normal operations [Fri Feb 26 20:02:16 2010] [notice] Graceful restart requested, doing restart [Fri Feb 26 20:02:16 2010] [notice] Apache/2.2.9 (Debian) configured -- resuming normal operations [Fri Feb 26 20:27:29 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico [Fri Feb 26 20:27:32 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico [Fri Feb 26 21:07:21 2010] [notice] caught SIGTERM, shutting down [Fri Feb 26 21:07:23 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch configured -- resuming normal operations [Fri Feb 26 21:11:06 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico [Fri Feb 26 21:11:09 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico [Fri Feb 26 21:19:21 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico [Fri Feb 26 21:21:55 2010] [notice] caught SIGTERM, shutting down [Fri Feb 26 21:25:15 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch configured -- resuming normal operations [Fri Feb 26 21:25:55 2010] [notice] caught SIGTERM, shutting down [Fri Feb 26 21:25:57 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch configured -- resuming normal operations [Fri Feb 26 21:33:12 2010] [notice] caught SIGTERM, shutting down [Fri Feb 26 21:33:14 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch configured -- resuming normal operations [Fri Feb 26 21:38:29 2010] [notice] caught SIGTERM, shutting down [Fri Feb 26 21:38:31 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch configured -- resuming normal operations [Fri Feb 26 21:43:39 2010] [notice] caught SIGTERM, shutting down [Fri Feb 26 21:43:40 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch configured -- resuming normal operations [Fri Feb 26 22:03:37 2010] [notice] caught SIGTERM, shutting down [Fri Feb 26 22:03:37 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch configured -- resuming normal operations [Fri Feb 26 22:07:41 2010] [notice] caught SIGTERM, shutting down [Fri Feb 26 22:10:38 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch configured -- resuming normal operations [Sat Feb 27 19:55:46 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch configured -- resuming normal operations
cat /etc/apache2/mods-enabled/ alias.conf authz_host.load deflate.load negotiation.conf status.conf alias.load authz_user.load dir.conf negotiation.load status.load auth_basic.load autoindex.conf dir.load php5.conf authn_file.load autoindex.load env.load php5.load authz_default.load cgi.load mime.conf setenvif.conf authz_groupfile.load deflate.conf mime.load setenvif.load
Ostatnio edytowany przez pink (2010-02-27 21:19:13)
Offline
nie wiem co bylo nie tak ale teraz dziala
Offline