Gentoo Archives: gentoo-user-es

From: d2clon <d2clon@×××××××××××××××.org>
To: gentoo-user-es@l.g.o
Subject: Re: [gentoo-user-es] apache2 & drupal & phpmyadmin & vhost & ....
Date: Mon, 28 Aug 2006 11:39:22
Message-Id: 44F2D5B4.9050409@desarrolladores.org
In Reply to: Re: [gentoo-user-es] apache2 & drupal & phpmyadmin & vhost & .... by d2clon
1 d2clon wrote:
2 > Hola:
3 >
4 > Arnau Bria wrote:
5 >> 1.-) porque phpmyadmin me pide un passwd?
6 >
7 > # find -iname ".htaccess" /var/www/
8 > # find -iname ".htaccess" /usr/share/webapps/
9 >
10 > Segúramente esté en ${donde este phpmyadmin}/libraries/.htacces
11
12 Ólvidate de esto que te he dicho
13
14 el .htaccess de esta carpeta está bien, bloquea cualquier acceso http
15 que se haga a esa carpeta y es como tiene que estar.
16
17 El formulario de login que te aparece es por que tienes configurado el
18 phpmyadmin para que la validación de usuario sea por método 'http':
19
20 # grep "auth_type"
21 /var/www/phpmyadmin2.constelanetworks.com/htdocs/config.inc.php
22 $cfg['Servers'][$i]['auth_type'] = 'http';
23
24 Lo que quiere decir que te pedirá un usuario y una pass que validará
25 directamente contra mysql, osea que el usuario que tienes que ponerle es
26 un usuario de mysql.
27
28 Es que justo me has pillado que estoy haciendo una instalación de
29 phpmyadmin yo también.. Si sigues teniendo problemas, me dices.
30
31 Saludos y suerte
32 d2clon
33
34 PD: has seguido estos pasos despues de la instalación?:
35 ------------------------------------------------------------------
36 # webapp-config --show-postinst phpmyadmin 2.8.2
37
38 =================================================================
39 POST-INSTALL INSTRUCTIONS
40 =================================================================
41
42 0. If this is a new installation, create MySQL's grant tables and the pmadb
43 database. NOTE: this will change the existing pma password to a random
44 string!
45
46 mysql -u root -p <
47 /usr/share/webapps/phpmyadmin/2.8.2/sqlscripts/mysql/2.8.2_create.sql
48
49 1. Create config.inc.php. You can use the web-based installer:
50 http://localhost///scripts/setup.php
51
52 Alternatively, use the default config file in
53 libraries/config.default.php
54
55 mkdir //config
56 chmod o+rw //config
57 # if you want to edit existing configuration:
58 cp //config.inc.php //config/
59 chown -R VHOST_SERVER_GID:VHOST_SERVER_UID //config
60
61 2. Be sure that the libraries/ directory is not visible. You can use the
62 provided .htaccess file.
63
64 ===============
65
66 If you are upgrading from an earlier version and are using phpMyAdmin's
67 features for master/foreign tables be sure to read
68 http://localhost///Documentation.html#col_com
69 You will need to perform the ALTER TABLE step yourself.
70
71 =================================================================
72
73
74
75 --
76 http://www.flickr.com/photos/d2clon/
77 http://enamsterdam.blogspot.com/
78
79 --
80 gentoo-user-es@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-es] apache2 & drupal & phpmyadmin & vhost & .... Arnau Bria <arnau@×××××××××.net>