Probleme phpmyadmin sous debian

Bonjour

Voila j’ai un soucis avec phpmyadmin depuis ce matin.

Depuis que j’ai fais une mise a jour de virtual-server chaque fois que je clic pour entrer dans phpmyadmin une fois que j’ai mis mon pseudo et passe il me demande de telecharger la page index.php

Je l’ai desinstallé et reinstallé mais rien n’y fais.

Je suis sous debian squeeze

Il y a que phpmyadmin qui me fais cela pour mon site il va nickel

Salut,

Ce ne sont pourtant pas les pistes et solutions qui manquent … :033

Moyennant une recherche avec ces quelques mots clés phpmyadmin telecharger page index.php :mrgreen:

Merci pour votre reponse
Cette recherche je l’ai deja fais et j’ai tout lu en vain.

j’ai fait
a2enmod php5

ensuite ceci /etc/init.d/apache2 restart

et la reponse de apache

[quote]Restarting web server: apache2[Sun Dec 02 02:27:59 2012] [warn] NameVirtualHost 204.27.58.138:443 has no VirtualHosts
… waiting [Sun Dec 02 02:28:00 2012] [warn] NameVirtualHost 204.27.58.138:443 has no VirtualHosts
[/quote]

J’administre le server avec webmin et virtual-server. et le probleme est survenue lorsqu’il a fallut faire une mise a jour de virtual-server.

Salut,

Traduction gogol ==> “n’a pas de VirtualHosts”

Il semblerait, à première vu, que cette mise à jour est affecté ton virtualhost ?

Que retournent ces dernières ?

Quel(s) commande(s) as tu lancé pour déinstaller proprement phpmyadmin … ?

Que disent les logs /var/log/apache2/… ?

Question bête : as tu installé apache2, php5 et mysql ?

Salut,

[quote=“HellsAngels”]

Il y a que phpmyadmin qui me fais cela pour mon site il va nickel[/quote]

:whistle:

:blush: je préfère me taire j’allais dire une con… :whistle:

Allez une question conn… quand même tu peu nous mettre l’url que tu utilise pour y accéder ?

(cache simplement le nom de domaine si tu le désire).

Merci pour vos reponses

Alors apache2ctl -t me retourne

apache2ctl configtest me retourne

apache2ctl -S me retourne

[code]# VirtualHost configuration:

204.27.58.138:80 is a NameVirtualHost
default server xxxxxxx.com (/etc/apache2/sites-enabled/xxxxx.com.conf:1)
port 80 namevhost xxxxxx.com (/etc/apache2/sites-enabled/xxxxx.com.conf:1)
204.27.58.138:443 is a NameVirtualHost
default server xxxxx.com (/etc/apache2/sites-enabled/xxxxx.com.conf:35)
port 443 namevhost xxxx.com (/etc/apache2/sites-enabled/xxxxx.com.conf:35)
wildcard NameVirtualHosts and default servers:
*:80 debian.jdc.local (/etc/apache2/sites-enabled/000-default:1)
Syntax OK[/code]

Pour desinstallé phpmyadmin j’ai fais

et ensuite

Pour le reinstallé

et log apache

[quote][Sun Nov 25 06:25:10 2012] [notice] Digest: generating secret for digest authentication …
[Sun Nov 25 06:25:10 2012] [notice] Digest: done
[Sun Nov 25 06:25:10 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Sun Nov 25 06:25:13 2012] [notice] Graceful restart requested, doing restart
[Sun Nov 25 06:25:28 2012] [warn] NameVirtualHost 204.27.58.138:443 has no VirtualHosts
[Sun Nov 25 06:25:28 2012] [notice] Digest: generating secret for digest authentication …
[Sun Nov 25 06:25:28 2012] [notice] Digest: done
[Sun Nov 25 06:25:28 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Sun Nov 25 11:17:12 2012] [error] [client 67.137.238.164] Invalid method in request \x80e\x01\x03\x01
[Mon Nov 26 11:30:26 2012] [error] [client 76.76.8.247] Invalid method in request \x80s\x01\x03\x01
[Mon Nov 26 17:44:42 2012] [error] [client 70.55.113.194] Invalid method in request \x16\x03\x01
[Tue Nov 27 09:18:27 2012] [error] [client 84.102.95.190] Invalid method in request \x16\x03\x01
[Tue Nov 27 09:18:28 2012] [error] [client 84.102.95.190] Invalid method in request \x16\x03
[Tue Nov 27 09:18:30 2012] [error] [client 84.102.95.190] Invalid method in request \x16\x03\x01
[Tue Nov 27 20:45:05 2012] [error] [client 141.212.121.10] Invalid method in request \x80w\x01\x03\x01
[Wed Nov 28 01:06:35 2012] [notice] caught SIGTERM, shutting down
[Wed Nov 28 01:06:43 2012] [error] FastCGI process 6456 still did not exit, terminating forcefully
[Wed Nov 28 01:06:43 2012] [error] FastCGI process 6461 still did not exit, terminating forcefully
[Wed Nov 28 01:06:43 2012] [error] FastCGI process 6457 still did not exit, terminating forcefully
[Wed Nov 28 01:06:43 2012] [error] FastCGI process 6465 still did not exit, terminating forcefully
[Wed Nov 28 01:07:19 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Nov 28 01:07:19 2012] [notice] Digest: generating secret for digest authentication …
[Wed Nov 28 01:07:19 2012] [notice] Digest: done
[Wed Nov 28 01:07:19 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Wed Nov 28 01:08:01 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Wed Nov 28 01:54:23 2012] [notice] Graceful restart requested, doing restart
[Wed Nov 28 01:54:28 2012] [warn] NameVirtualHost 204.27.58.138:443 has no VirtualHosts
[Wed Nov 28 01:54:28 2012] [notice] Digest: generating secret for digest authentication …
[Wed Nov 28 01:54:28 2012] [notice] Digest: done
[Wed Nov 28 01:54:28 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Wed Nov 28 01:54:30 2012] [notice] Graceful restart requested, doing restart
[Wed Nov 28 01:54:48 2012] [warn] NameVirtualHost 204.27.58.138:443 has no VirtualHosts
[Wed Nov 28 01:54:48 2012] [notice] Digest: generating secret for digest authentication …
[Wed Nov 28 01:54:48 2012] [notice] Digest: done
[Wed Nov 28 01:54:48 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Wed Nov 28 02:24:48 2012] [notice] Graceful restart requested, doing restart
[Wed Nov 28 02:24:52 2012] [warn] NameVirtualHost 204.27.58.138:443 has no VirtualHosts
[Wed Nov 28 02:24:52 2012] [notice] Digest: generating secret for digest authentication …
[Wed Nov 28 02:24:52 2012] [notice] Digest: done
[Wed Nov 28 02:24:52 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Wed Nov 28 02:25:51 2012] [notice] Graceful restart requested, doing restart
[Wed Nov 28 02:25:58 2012] [warn] NameVirtualHost 204.27.58.138:443 has no VirtualHosts
[Wed Nov 28 02:25:58 2012] [notice] Digest: generating secret for digest authentication …
[Wed Nov 28 02:25:58 2012] [notice] Digest: done
[Wed Nov 28 02:25:58 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Wed Nov 28 02:28:21 2012] [notice] Graceful restart requested, doing restart
[Wed Nov 28 02:28:25 2012] [warn] NameVirtualHost 204.27.58.138:443 has no VirtualHosts
[Wed Nov 28 02:28:25 2012] [notice] Digest: generating secret for digest authentication …
[Wed Nov 28 02:28:25 2012] [notice] Digest: done
[Wed Nov 28 02:28:25 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Wed Nov 28 02:29:31 2012] [notice] Graceful restart requested, doing restart
[Wed Nov 28 02:29:34 2012] [warn] NameVirtualHost 204.27.58.138:443 has no VirtualHosts
[Wed Nov 28 02:29:34 2012] [notice] Digest: generating secret for digest authentication …
[Wed Nov 28 02:29:34 2012] [notice] Digest: done
[Wed Nov 28 02:29:34 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Wed Nov 28 02:30:21 2012] [notice] Graceful restart requested, doing restart
[Wed Nov 28 02:30:25 2012] [warn] NameVirtualHost 204.27.58.138:443 has no VirtualHosts
[Wed Nov 28 02:30:25 2012] [notice] Digest: generating secret for digest authentication …
[Wed Nov 28 02:30:25 2012] [notice] Digest: done
[Wed Nov 28 02:30:25 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Wed Nov 28 02:34:00 2012] [notice] Graceful restart requested, doing restart
[Wed Nov 28 02:34:04 2012] [warn] NameVirtualHost 204.27.58.138:443 has no VirtualHosts
[Wed Nov 28 02:34:04 2012] [notice] Digest: generating secret for digest authentication …
[Wed Nov 28 02:34:04 2012] [notice] Digest: done
[Wed Nov 28 02:34:04 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Wed Nov 28 12:50:17 2012] [error] [client 99.198.127.122] Invalid method in request \x80g\x01\x03\x01
[Wed Nov 28 12:50:17 2012] [error] [client 99.198.127.122] Invalid method in request \x16\x03
[Wed Nov 28 13:23:33 2012] [error] [client 67.137.238.164] Invalid method in request \x80e\x01\x03\x01
[Wed Nov 28 13:50:15 2012] [error] [client 99.198.127.122] Invalid method in request \x80g\x01\x03\x01
[Wed Nov 28 13:50:15 2012] [error] [client 99.198.127.122] Invalid method in request \x16\x03
[Thu Nov 29 06:52:54 2012] [error] [client 156.56.83.12] Invalid method in request \x16\x03\x01
[Thu Nov 29 09:17:11 2012] [error] [client 141.212.121.10] Invalid method in request \x80w\x01\x03\x01
[Thu Nov 29 15:25:48 2012] [error] [client 204.236.208.83] Invalid method in request \x16\x03
[Thu Nov 29 17:47:29 2012] [error] [client 23.22.57.242] Invalid method in request \x16\x03\x01
[Thu Nov 29 23:53:57 2012] [error] [client 184.106.213.172] Invalid method in request \x80g\x01\x03\x01
[Thu Nov 29 23:53:57 2012] [error] [client 184.106.213.172] Invalid method in request \x16\x03
[Fri Nov 30 03:44:31 2012] [error] [client 141.212.121.10] Invalid method in request \x80w\x01\x03\x01
[Fri Nov 30 04:00:49 2012] [error] [client 184.106.213.172] Invalid method in request \x80g\x01\x03\x01
[Fri Nov 30 04:00:49 2012] [error] [client 184.106.213.172] Invalid method in request \x16\x03
[Fri Nov 30 04:58:53 2012] [error] [client 156.56.83.12] Invalid method in request \x16\x03\x01
[Fri Nov 30 10:21:33 2012] [error] [client 23.20.58.229] Invalid method in request \x16\x03
[Fri Nov 30 12:35:14 2012] [error] [client 122.154.101.54] Invalid method in request \x80g\x01\x03\x01
[Sat Dec 01 13:54:51 2012] [error] [client 156.56.83.12] Invalid method in request \x16\x03\x01
[Sun Dec 02 02:27:59 2012] [notice] caught SIGTERM, shutting down
[Sun Dec 02 02:28:01 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Dec 02 02:28:01 2012] [notice] Digest: generating secret for digest authentication …
[Sun Dec 02 02:28:01 2012] [notice] Digest: done
[Sun Dec 02 02:28:01 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Sun Dec 02 02:38:40 2012] [notice] caught SIGTERM, shutting down
[Sun Dec 02 02:38:46 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Dec 02 02:38:46 2012] [notice] Digest: generating secret for digest authentication …
[Sun Dec 02 02:38:46 2012] [notice] Digest: done
[Sun Dec 02 02:38:46 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Sun Dec 02 02:40:18 2012] [notice] Graceful restart requested, doing restart
[Sun Dec 02 02:40:22 2012] [notice] Digest: generating secret for digest authentication …
[Sun Dec 02 02:40:22 2012] [notice] Digest: done
[Sun Dec 02 02:40:22 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Sun Dec 02 02:40:46 2012] [notice] caught SIGTERM, shutting down
[Sun Dec 02 02:40:49 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Dec 02 02:40:49 2012] [notice] Digest: generating secret for digest authentication …
[Sun Dec 02 02:40:49 2012] [notice] Digest: done
[Sun Dec 02 02:40:49 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[Sun Dec 02 03:00:53 2012] [notice] caught SIGTERM, shutting down
[Sun Dec 02 03:00:54 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Dec 02 03:00:54 2012] [notice] Digest: generating secret for digest authentication …
[Sun Dec 02 03:00:54 2012] [notice] Digest: done
[Sun Dec 02 03:00:54 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured – resuming normal operations
[/quote]

Ce que je ne comprend pas c’est qu’il le fais qu’avec phpmyadmin. il le ferais aussi avec le site je comprendrais mais la non.

Merci beaucoup de votre aide et patience

je me suis mal exprimé je voulais juste savoir si tu utilisé le “slash” à la fin :

Le slash à la fin peu avoir son importance, je regarderais au boulot ce soir car je n’ai pas de phphmyadmin sous la main.

Oui j’utilise le slash j’ai meme essayé avec index.php a la fin

Plus personne pour aider a trouver le probleme??

Pour moi c’est plus un problème de Apache que de PHPMyAdmin.
Comme l’a souligné loreleil, il serait bon de jeter un coup d’œil sur le fichier de conf d’Apache.
C’est comme s’il considère ton site comme un site statique et non un site PHP.
Creuse dans cette direction plutôt que la réinstallation de PHPMyAdmin.

[quote=“Mimoza”]Pour moi c’est plus un problème de Apache que de PHPMyAdmin.
Comme l’a souligné loreleil, il serait bon de jeter un coup d’œil sur le fichier de conf d’Apache.
C’est comme s’il considère ton site comme un site statique et non un site PHP.
Creuse dans cette direction plutôt que la réinstallation de PHPMyAdmin.[/quote]

Le site j’y ai accés sans soucis c’est phpmyadmin qui ne fonctionne pas et qu’il me demande de téléchargger la page

Au cas ou voici le fichier conf de apache

[quote]#

Based upon the NCSA server configuration files originally by Rob McCool.

This is the main Apache server configuration file. It contains the

configuration directives that give the server its instructions.

See httpd.apache.org/docs/2.2/ for detailed information about

the directives.

Do NOT simply read the instructions in here without understanding

what they do. They’re here only as hints or reminders. If you are unsure

consult the online docs. You have been warned.

The configuration directives are grouped into three basic sections:

1. Directives that control the operation of the Apache server process as a

whole (the ‘global environment’).

2. Directives that define the parameters of the ‘main’ or ‘default’ server,

which responds to requests that aren’t handled by a virtual host.

These directives also provide default values for the settings

of all virtual hosts.

3. Settings for virtual hosts, which allow Web requests to be sent to

different IP addresses or hostnames and have them handled by the

same Apache server process.

Configuration and logfile names: If the filenames you specify for many

of the server’s control files begin with “/” (or “drive:/” for Win32), the

server will use that explicit path. If the filenames do not begin

with “/”, the value of ServerRoot is prepended – so “foo.log”

with ServerRoot set to “/etc/apache2” will be interpreted by the

server as “/etc/apache2/foo.log”.

Section 1: Global Environment

The directives in this section affect the overall operation of Apache,

such as the number of concurrent requests it can handle or where it

can find its configuration files.

ServerRoot: The top of the directory tree under which the server’s

configuration, error, and log files are kept.

NOTE! If you intend to place this on an NFS (or otherwise network)

mounted filesystem then please read the LockFile documentation (available

at URL:http://httpd.apache.org/docs/2.2/mod/mpm_common.html#lockfile);

you will save yourself a lot of trouble.

Do NOT add a slash at the end of the directory path.

#ServerRoot “/etc/apache2”

The accept serialization lock file MUST BE STORED ON A LOCAL DISK.

LockFile ${APACHE_LOCK_DIR}/accept.lock

PidFile: The file in which the server should record its process

identification number when it starts.

This needs to be set in /etc/apache2/envvars

PidFile ${APACHE_PID_FILE}

Timeout: The number of seconds before receives and sends time out.

Timeout 300

KeepAlive: Whether or not to allow persistent connections (more than

one request per connection). Set to “Off” to deactivate.

KeepAlive On

MaxKeepAliveRequests: The maximum number of requests to allow

during a persistent connection. Set to 0 to allow an unlimited amount.

We recommend you leave this number high, for maximum performance.

MaxKeepAliveRequests 100

KeepAliveTimeout: Number of seconds to wait for the next request from the

same client on the same connection.

KeepAliveTimeout 15

Server-Pool Size Regulation (MPM specific)

prefork MPM

StartServers: number of server processes to start

MinSpareServers: minimum number of server processes which are kept spare

MaxSpareServers: maximum number of server processes which are kept spare

MaxClients: maximum number of server processes allowed to start

MaxRequestsPerChild: maximum number of requests a server process serves

StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0

worker MPM

StartServers: initial number of server processes to start

MaxClients: maximum number of simultaneous client connections

MinSpareThreads: minimum number of worker threads which are kept spare

MaxSpareThreads: maximum number of worker threads which are kept spare

ThreadLimit: ThreadsPerChild can be changed to this maximum value during a

graceful restart. ThreadLimit can only be changed by stopping

and starting Apache.

ThreadsPerChild: constant number of worker threads in each server process

MaxRequestsPerChild: maximum number of requests a server process serves

StartServers 2 MinSpareThreads 25 MaxSpareThreads 75 ThreadLimit 64 ThreadsPerChild 25 MaxClients 150 MaxRequestsPerChild 0

event MPM

StartServers: initial number of server processes to start

MaxClients: maximum number of simultaneous client connections

MinSpareThreads: minimum number of worker threads which are kept spare

MaxSpareThreads: maximum number of worker threads which are kept spare

ThreadsPerChild: constant number of worker threads in each server process

MaxRequestsPerChild: maximum number of requests a server process serves

StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadLimit 64 ThreadsPerChild 25 MaxRequestsPerChild 0

These need to be set in /etc/apache2/envvars

User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}

AccessFileName: The name of the file to look for in each directory

for additional configuration directives. See also the AllowOverride

directive.

AccessFileName .htaccess

The following lines prevent .htaccess and .htpasswd files from being

viewed by Web clients.

<Files ~ “^.ht”>
Order allow,deny
Deny from all
Satisfy all

DefaultType is the default MIME type the server will use for a document

if it cannot otherwise determine one, such as from filename extensions.

If your server contains mostly text or HTML documents, “text/plain” is

a good value. If most of your content is binary, such as applications

or images, you may want to use “application/octet-stream” instead to

keep browsers from trying to display binary files as though they are

text.

DefaultType text/plain

HostnameLookups: Log the names of clients or just their IP addresses

e.g., www.apache.org (on) or 204.62.129.132 (off).

The default is off because it’d be overall better for the net if people

had to knowingly turn this feature on, since enabling it means that

each client request will result in AT LEAST one lookup request to the

nameserver.

HostnameLookups Off

ErrorLog: The location of the error log file.

If you do not specify an ErrorLog directive within a

container, error messages relating to that virtual host will be

logged here. If you do define an error logfile for a

container, that host’s errors will be logged there and not here.

ErrorLog ${APACHE_LOG_DIR}/error.log

LogLevel: Control the number of messages logged to the error_log.

Possible values include: debug, info, notice, warn, error, crit,

alert, emerg.

LogLevel warn

Include module configuration:

Include mods-enabled/.load
Include mods-enabled/
.conf

Include all the user configurations:

Include httpd.conf

Include ports listing

Include ports.conf

The following directives define some format nicknames for use with

a CustomLog directive (see below).

If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i

LogFormat “%v:%p %h %l %u %t “%r” %>s %O “%{Referer}i” “%{User-Agent}i”” vhost_combined
LogFormat “%h %l %u %t “%r” %>s %O “%{Referer}i” “%{User-Agent}i”” combined
LogFormat “%h %l %u %t “%r” %>s %O” common
LogFormat “%{Referer}i -> %U” referer
LogFormat “%{User-agent}i” agent

Include of directories ignores editors’ and dpkg’s backup files,

see README.Debian for details.

Include generic snippets of statements

Include conf.d/

Include the virtual host configurations:

Include sites-enabled/
SSLProtocol ALL -SSLv2
SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:AES256-SHA256:RC4:HIGH:MEDIUM:+TLSv1:!MD5:!SSLv2:+SSLv3:!ADH:!aNULL:!eNULL:!NULL:!DH:!ADH:!EDH:!AESGCM
NameVirtualHost 204.27.58.138:80
NameVirtualHost 204.27.58.138:443
[/quote]

Salut,

Pourrez ton voir tes vhosts /etc/apache2/sites-enabled/xxxxx.com ???

Comment les as tu déclarés tes vhosts ???

Quels sont les retours ci dessous …

# ls -la /etc/apache2/sites-available/
# ls -la /etc/apache2/sites-enabled

Pour tous tes vhosts (deux je crois)

# grep -v ^# /etc/apache2/sites-available/xxxxx.com |grep -v ^$

Et saut erreur … :033

[quote="/etc/apache2/apache2.conf "]SSLProtocol ALL -SSLv2
SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:AES256-SHA256:RC4:HIGH:MEDIUM:+TLSv1:!MD5:!SSLv2:+SSLv3:!ADH:!aNULL:!eNULL:!NULL:!DH:!ADH:!EDH:!AESGCM
NameVirtualHost 204.27.58.138:80
NameVirtualHost 204.27.58.138:443
[/quote]

ceci n’a rien à faire dans ta configuration /etc/apache2/apache2.conf

Commentes ces dernières et relance apache.

Tu m’as mal compris, ou je me suis mal exprimé. Si tu n’interdit pas l’accès a un répertoire Apache te le serviras, c’est ce qui t’arrive. D’ailleur si tu enlève “index.[php|html]” tu devrais voir l’ensemble des fichiers du répertoire. Après il faut lui spécifier que “ce” répertoire particulier est un site en PHP pour q’il interprète tes fichier PHP au lieu d’essayer de te les faire télécharger.

Donc il nous faut TOUS les fichiers de conf d’Apache (les “/etc/apache2/sites-available/.”), pour voir si on trouve bien le répertoire d’installation de ton PHPMyAdmin.

Tout d’abord merci de votre patience

Pour loreleil
Voici les retours

Pour ls -la /etc/apache2/sites-available/

[quote]total 28
drwxr-xr-x 2 root root 4096 Dec 2 02:40 .
drwxr-xr-x 8 root root 4096 Dec 3 05:39 …
-rw-r–r-- 1 root root 692 Apr 1 2012 default
-rw-r–r-- 1 root root 7251 Apr 1 2012 default-ssl
-rw-r–r-- 1 root root 2564 Dec 2 02:40 klif-xxxx.com.conf
-rw-r–r-- 1 root root 2567 Nov 28 01:54 mega-xxxxx.co.uk.conf[/quote]

Pour ls -la /etc/apache2/sites-enable

[quote]total 8
drwxr-xr-x 2 root root 4096 Oct 10 00:40 .
drwxr-xr-x 8 root root 4096 Dec 3 05:39 …
lrwxrwxrwx 1 root root 26 Aug 2 00:12 000-default -> …/sites-available/default
lrwxrwxrwx 1 root root 50 Oct 10 00:40 klif-xxxx.com.conf -> /etc/apache2/sites-available/klif-xxxx.com.conf
lrwxrwxrwx 1 root root 52 Aug 26 01:48 mega-xxxx.co.uk.conf -> /etc/apache2/sites-available/mega-xxxxx.co.uk.conf
[/quote]

et pour grep -v ^# /etc/apache2/sites-available/xxxxx.com |grep -v ^$

[quote]SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:AES256-SHA256:RC4:HIGH:MEDIUM:+TLSv1:!MD5:!SSLv2:+SSLv3:!ADH:!aNULL:!eNULL:!NULL:!DH:!ADH:!EDH:!AESGCM
NameVirtualHost 204.27.58.138:80
NameVirtualHost 204.27.58.138:443[/quote]
Je gere le serveur et créé mes virtualhosts avec virtualmin donc c’est lui qui insere ça

je les ai enlevé et redemarré apache et je vous remercie tous car j’ai de nouveau accés a phpmyadmin. sans vous jour je n’aurais jamais trouvé.

Par contre je n’ai plus accés a mon site il me marque ceci

[quote]It works!
[/quote]
il doit pointer maintenant sur var/www/ au lieu de /home/mon_user

Salut,

La commande (complète) indiqué est celle-ci, :075 à placer après le dièse ~ # :033

[quote]~ # grep -v ^# /etc/apache2/sites-available/klif-xxxx.com.conf |grep -v ^$
~ # grep -v ^# /etc/apache2/sites-available/mega-xxxxx.co.uk.conf |grep -v ^$
[/quote]

[quote=“HellsAngels”]Je gere le serveur et créé mes virtualhosts avec virtualmin donc c’est lui qui insere ça
[/quote]
Tu gères … c’est vite dit … Ouais ben virtualmin à mis un sacré merdier avec ta complaisance … :mrgreen:

Bien! :slightly_smiling:

[quote]Par contre je n’ai plus accés a mon site il me marque ceci

It works![/quote]

Tous va bien … :wink:

[quote]
il doit pointer maintenant sur var/www/ au lieu de /home/mon_user[/quote]

Il serait souhaitable de mettre ceci au clair. :083
=> le bronx … ==> klif-xxxx.com.conf et mega-xxxxx.co.uk.conf

Le nom de ces vhosts (répertoires) … ?

~ $ ls -la /home/user/

Pour le site c’est ok j’ai refais le virtualhost et tout fonctionne maintenant

Merci a vous pour votre aide

[quote=“HellsAngels”]Pour le site c’est ok j’ai refais le virtualhost et tout fonctionne maintenant

Merci a vous pour votre aide[/quote]

Parfait! :wink:

Résolu ? ==> Coche verte!

je vois pas ou on peux mettre en resolu desolé