Configuration PhpMyAdmin pour un sous-domaine

Bonjour tout le monde,

J’ai un petit problème avec la configuration d’Apache2 sur une distribution Debian 7.

Mon serveur pointe sur ce nom de domaine (/var/www) : sous-domaine.ndd.fr
Mon site principal pointe sur ce domaine (/var/www/ndd.fr) : ndd.fr

J’ai installé PhpMyAdmin et donc il est accessible via cette URL : sous-domaine.ndd.fr/phpmyadmin (tout est normal)
Sauf que si je tape ndd.fr/phpmyadmin, celui-ci est également accessible. Hors je voudrais que PMA soit accessible que via le sous-domaine.

Avez-vous une idée de la configuration du VirtualHost que je dois mettre en place ?

Je vous remercie d’avance :wink:

Salut,

Et copie le fichier result.txt ici histoire de voir tes conf déjà en place. Sans ça on pourras pas vraiment t’aider.

Voilà je viens de faire la manip.
J’ai juste remplacé mon vrai nom de domaine par “ndd”

[code]<VirtualHost *:80>
ServerAdmin hello@ndd.fr
ServerName sous-domaine.ndd.fr

DocumentRoot /var/www
<Directory />
	Options FollowSymLinks
	AllowOverride All
</Directory>
<Directory /var/www/>
	Options Indexes FollowSymLinks MultiViews
	AllowOverride All
	Order allow,deny
	allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
	AllowOverride None
	Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/access.log combined

<VirtualHost *:80>
ServerAdmin hello@ndd.fr
ServerName http://www.ndd.fr

DocumentRoot /var/www/www.ndd.fr
<Directory />
	Options FollowSymLinks
	AllowOverride All
</Directory>
<Directory /var/www/www.ndd.fr>
	Options Indexes FollowSymLinks MultiViews
	AllowOverride All
	Order allow,deny
	allow from all
</Directory>

# Interdiction d'accéder aux dossiers .svn (erreur 403)
<DirectoryMatch .*\.svn/.*>
	Deny From All
</DirectoryMatch>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
	AllowOverride None
	Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
</Directory>

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

ErrorLog /var/log/apache2/www.ndd.fr/error.log
CustomLog /var/log/apache2/www.ndd.fr/access.log combined

<VirtualHost *:80>
ServerName ndd.fr
Redirect 301 / http://www.ndd.fr/

[/code]

Merci :slightly_smiling:

Ou là c’est un peux le bordel ^^’ on vas faire le ménage déjà histoire que ça soit plus lisible ^^’

DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>

Simplifie en ça :

DocumentRoot /var/www <DirectoryMatch /> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </DirectoryMatch>

Modifie en ça :

<Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /var/www/www.ndd.fr> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>

Modifie en ça :

<DirectoryMatch /> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </DirectoryMatch>

<VirtualHost *:80> ServerName ndd.fr Redirect 301 / http://www.ndd.fr/ </VirtualHost>

ErrorLog /var/log/apache2/www.ndd.fr/error.log
CustomLog /var/log/apache2/www.ndd.fr/access.log combined

Ça ça ne veux rien dire, si tu veux que ça s’applique sur tout ton ndd tu ajoute uniquement la ligne “Redirect 301 / ndd.fr/” dans ton apache.conf :wink:

Recopie les VirtualHost, histoire que ça soit plus lisible et simple à comprendre utilise la balise code et no quote stp.

Redémarre le tout, essaie, puis fait un "tail /var/log/apache2/access.log && tail /var/log/apache2/www.ndd.fr/access.log " et fais voir le résultat

Merci pour le clean de mes VirtualHost ! :slightly_smiling:

Voici mes nouveaux VirtualHost après ton clean.

/var/apache2/sites-enabled/000-default

<VirtualHost *:80>
	ServerAdmin hello@ndd.fr
	ServerName sous-domaine.ndd.fr

	DocumentRoot /var/www
	<DirectoryMatch />
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		Order allow,deny
		allow from all
	</DirectoryMatch>

	LogLevel warn
	ErrorLog /var/log/error.log
	CustomLog /var/log/access.log combined
 </VirtualHost>

/var/apache2/sites-enabled/www.ndd.fr

<VirtualHost *:80>
	ServerAdmin hello@ndd.fr
	ServerName www.ndd.fr

	DocumentRoot /var/www/www.ndd.fr
	<DirectoryMatch />
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		Order allow,deny
		allow from all
	</DirectoryMatch>

	# Interdiction d'accéder aux dossiers .svn (erreur 403)
	<DirectoryMatch .*\.svn/.*>
		Deny From All
	</DirectoryMatch>

	LogLevel warn
	ErrorLog /var/log/apache2/www.ndd.fr/error.log
	CustomLog /var/log/apache2/www.ndd.fr/access.log combined
</VirtualHost>

Ensuite avec la commande “tail /var/log/apache2/access.log && tail /var/log/apache2/www.ndd.fr/access.log”, j’obtiens :

69.174.245.163 - - [21/Jul/2014:20:02:33 +0200] "GET /myadmin/scripts/setup.php HTTP/1.1" 404 475 "-" "ZmEu"
69.174.245.163 - - [21/Jul/2014:20:02:33 +0200] "GET /MyAdmin/scripts/setup.php HTTP/1.1" 404 475 "-" "ZmEu"
220.181.51.137 - - [21/Jul/2014:20:18:09 +0200] "GET / HTTP/1.0" 200 335 "http://www.baidu.com/s?wd=www" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
149.255.99.130 - - [21/Jul/2014:20:56:41 +0200] "GET http://149.255.99.130:64011/echo HTTP/1.0" 404 488 "-" "-"
93.1.217.85 - - [21/Jul/2014:22:37:02 +0200] "GET / HTTP/1.1" 200 372 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [21/Jul/2014:22:37:02 +0200] "GET /favicon.ico HTTP/1.1" 404 502 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [21/Jul/2014:22:37:03 +0200] "GET / HTTP/1.1" 304 209 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
220.181.51.146 - - [21/Jul/2014:22:37:07 +0200] "GET / HTTP/1.0" 200 335 "http://www.baidu.com/s?wd=www" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
93.1.217.85 - - [21/Jul/2014:22:37:09 +0200] "GET /robots.txt HTTP/1.1" 200 400 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [21/Jul/2014:22:39:46 +0200] "GET /cgi-bin HTTP/1.1" 404 503 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [21/Jul/2014:22:48:08 +0200] "GET /wp-content/uploads/2014/06/Cartes-474x244.jpg HTTP/1.1" 200 40441 "http://www.ndd.fr/cartes/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [21/Jul/2014:22:48:08 +0200] "GET /wp-content/themes/ndd/cache/7746958e125616008b9c16accf064116.js HTTP/1.1" 200 36125 "http://www.ndd.fr/cartes/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [21/Jul/2014:22:48:08 +0200] "GET /wp-content/uploads/2014/06/Cartes-2-474x244.jpg HTTP/1.1" 200 49205 "http://www.ndd.fr/cartes/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [21/Jul/2014:22:48:13 +0200] "GET /contact/ HTTP/1.1" 200 5390 "http://www.ndd.fr/contact/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
128.206.127.93 - - [21/Jul/2014:22:48:13 +0200] "GET /agence/ HTTP/1.1" 200 8098 "http://www.ndd.fr/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.77.4 (KHTML, like Gecko) Version/7.0.5 Safari/537.77.4"
128.206.127.93 - - [21/Jul/2014:22:48:13 +0200] "GET /wp-content/themes/ndd/cache/a9667186240057989e641391893dc706.css HTTP/1.1" 200 4902 "http://www.ndd.fr/agence/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.77.4 (KHTML, like Gecko) Version/7.0.5 Safari/537.77.4"
128.206.127.93 - - [21/Jul/2014:22:48:13 +0200] "GET /wp-content/themes/ndd/images/agence.png HTTP/1.1" 200 3101 "http://www.ndd.fr/agence/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.77.4 (KHTML, like Gecko) Version/7.0.5 Safari/537.77.4"
128.206.127.93 - - [21/Jul/2014:22:48:13 +0200] "GET /wp-content/themes/ndd/cache/cacffc48f2d4384093bd72624117ac2d.js HTTP/1.1" 200 34922 "http://www.ndd.fr/agence/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.77.4 (KHTML, like Gecko) Version/7.0.5 Safari/537.77.4"
128.206.127.93 - - [21/Jul/2014:22:48:13 +0200] "GET /wp-content/uploads/2014/06/photo-1.jpg HTTP/1.1" 200 313749 "http://www.ndd.fr/agence/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.77.4 (KHTML, like Gecko) Version/7.0.5 Safari/537.77.4"
128.206.127.93 - - [21/Jul/2014:22:48:13 +0200] "GET /wp-content/uploads/2014/06/photo-2.jpg HTTP/1.1" 200 359883 "http://www.ndd.fr/agence/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.77.4 (KHTML, like Gecko) Version/7.0.5 Safari/537.77.4"

Je te remercie pour ton aide précieuse :slightly_smiling:

Hummm il doit manquer quelques trucs dans la commandes que je t’ai demandé.

Alors tu peux me faire cette commande : “apache2ctl -S” et me donner le résultat ?

Idem pour “ls -la /var/www” et “ls -la /var/www/www.ndd.fr”

Ensuite vas sur ndd.fr/phpmyadmin et faire un tail /var/log/apache2/www.ndd.fr/access.log

Alors quand je tape “apache2ctl -S”, j’obtiens :

VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80                   is a NameVirtualHost
         default server sous-domaine.ndd.fr (/etc/apache2/sites-enabled/000-default:1)
         port 80 namevhost sous-domaine.ndd.fr (/etc/apache2/sites-enabled/000-default:1)
         port 80 namevhost www.ndd.fr (/etc/apache2/sites-enabled/www.ndd.fr:1)
Syntax OK

Ensuite pour “ls -la /var/www”, j’ai (c’est ici que pointe sous-domaine.ndd.fr), en gros j’ai fais ça pour éviter d’avoir une ip pour mon serveur mais un nom :

total 16
drwxr-xr-x  3 root     root     4096 juil. 11 18:33 .
drwxr-xr-x 13 root     root     4096 mai   24 17:44 ..
-rw-r--r--  1 root     root        0 avril 13 21:59 index.html
-rw-r--r--  1 root     root       26 juil.  4 16:12 robots.txt
drwxr-xr-x  6 www-data www-data 4096 juil. 21 09:45 www.ndd.fr

Pour “ls -la /var/www/www.ndd.fr”, j’ai ceci (c’est ici que pointe ndd.fr) :

total 40980
drwxr-xr-x  6 www-data www-data     4096 juil. 21 09:45 .
drwxr-xr-x  3 root     root         4096 juil. 11 18:33 ..
-rw-r--r--  1 www-data www-data      440 juil. 20 11:36 .htaccess
-rw-r--r--  1 www-data www-data      418 juin   2 12:01 index.php
-rw-r--r--  1 www-data www-data     3959 juil. 15 18:05 sitemap.xml
drwxr-xr-x  6 www-data www-data     4096 juin  17 21:59 .svn
-rw-r--r--  1 www-data www-data     4896 juin   2 12:01 wp-activate.php
drwxr-xr-x 10 www-data www-data     4096 juin   2 12:01 wp-admin
-rw-r--r--  1 www-data www-data      271 juin   2 12:01 wp-blog-header.php
-rw-r--r--  1 www-data www-data     4818 juin   2 12:01 wp-comments-post.php
-rw-r--r--  1 www-data www-data     4106 juin   2 12:02 wp-config.php
-rw-r--r--  1 www-data www-data     3814 juin   2 12:01 wp-config-sample.php
drwxr-xr-x  8 www-data www-data     4096 juil. 22 17:02 wp-content
-rw-r--r--  1 www-data www-data     2932 juin   2 12:01 wp-cron.php
drwxr-xr-x 13 www-data www-data     4096 juin   2 12:01 wp-includes
-rw-r--r--  1 www-data www-data     2380 juin   2 12:01 wp-links-opml.php
-rw-r--r--  1 www-data www-data     2359 juin   2 12:01 wp-load.php
-rw-r--r--  1 www-data www-data    32671 juin   2 12:01 wp-login.php
-rw-r--r--  1 www-data www-data     8235 juin   2 12:01 wp-mail.php
-rw-r--r--  1 www-data www-data    11070 juin   2 12:01 wp-settings.php
-rw-r--r--  1 www-data www-data    25665 juin   2 12:01 wp-signup.php
-rw-r--r--  1 www-data www-data     4026 juin   2 12:01 wp-trackback.php
-rw-r--r--  1 www-data www-data     3032 juin   2 12:01 xmlrpc.php

Donc ensuite je vais sur PMA via ndd.fr et je fais un “tail /var/log/apache2/www.ndd.fr/access.log” et j’obtiens ceci :

93.1.217.85 - - [22/Jul/2014:17:07:20 +0200] "GET /phpmyadmin/favicon.ico HTTP/1.1" 200 19211 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [22/Jul/2014:17:07:21 +0200] "GET /phpmyadmin/ HTTP/1.1" 200 2815 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [22/Jul/2014:17:07:22 +0200] "GET /phpmyadmin/phpmyadmin.css.php?server=1&token=26937247ae22137d122316d5e6748aaf&js_frame=right&nocache=4089118345 HTTP/1.1" 200 9389 "http://www.ndd.fr/phpmyadmin/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [22/Jul/2014:17:07:22 +0200] "GET /phpmyadmin/js/messages.php?lang=fr&db=&token=26937247ae22137d122316d5e6748aaf HTTP/1.1" 200 5881 "http://www.ndd.fr/phpmyadmin/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [22/Jul/2014:17:07:22 +0200] "GET /phpmyadmin/ HTTP/1.1" 200 2816 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [22/Jul/2014:17:07:22 +0200] "GET /phpmyadmin/phpmyadmin.css.php?server=1&token=35aa944fff59707d4cac607ab29df733&js_frame=right&nocache=4089118345 HTTP/1.1" 200 9389 "http://www.ndd.fr/phpmyadmin/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [22/Jul/2014:17:07:22 +0200] "GET /phpmyadmin/js/messages.php?lang=fr&db=&token=35aa944fff59707d4cac607ab29df733 HTTP/1.1" 200 5881 "http://www.ndd.fr/phpmyadmin/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [22/Jul/2014:17:07:23 +0200] "GET /phpmyadmin/ HTTP/1.1" 200 2814 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [22/Jul/2014:17:07:23 +0200] "GET /phpmyadmin/phpmyadmin.css.php?server=1&token=16dad6424d39756589b61ecb1810ea01&js_frame=right&nocache=4089118345 HTTP/1.1" 200 9389 "http://www.ndd.fr/phpmyadmin/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
93.1.217.85 - - [22/Jul/2014:17:07:23 +0200] "GET /phpmyadmin/js/messages.php?lang=fr&db=&token=16dad6424d39756589b61ecb1810ea01 HTTP/1.1" 200 5881 "http://www.ndd.fr/phpmyadmin/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"

A tout hasard est-ce qu’il y aurait pas une manip à faire dans la conf apache de PMA (/etc/phpmyadmin/apache.conf) afin de l’autoriser que via le sous-domaine ?

Merci encore :slightly_smiling:

Salut,

[quote=“Tototo”]J’ai installé PhpMyAdmin et donc il est accessible via cette URL : sous-domaine.ndd.fr/phpmyadmin (tout est normal)
Sauf que si je tape ndd.fr/phpmyadmin, celui-ci est également accessible. Hors je voudrais que PMA soit accessible que via le sous-domaine.

Avez-vous une idée de la configuration du VirtualHost que je dois mettre en place ?[/quote]

Par défaut, [mono]phpmyadmin[/mono] pointe vers [mono]/usr/share/phpmyadmin[/mono].

Chemin que l’on retrouve en [mono]/etc/phpmyadmin/apache.conf[/mono]

[code]$ cat /etc/phpmyadmin/apache.conf

phpMyAdmin default Apache configuration

Alias /phpmyadmin /usr/share/phpmyadmin

<Directory /usr/share/phpmyadmin>

[…][/code]

Il te suffit de :

commenter cette ligne.

[mono]$ cat /etc/phpmyadmin/apache.conf

phpMyAdmin default Apache configuration

# Alias /phpmyadmin /usr/share/phpmyadmin

<Directory /usr/share/phpmyadmin>

[…][/mono]

Crées un virtualhost à son intention.

[code]cat /etc/apache2/sites-available/mon_truc_machin_chose.conf

<VirtualHost *:80>
ServerAdmin hello@ndd.fr
ServerName sous-domaine.ndd.fr

    DocumentRoot /usr/share/phpmyadmin/

    <Directory />
            Options FollowSymLinks
            AllowOverride All
            Order Deny,Allow
            Deny from All
            Allow from Ton_ip_local
    </Directory>

    <Directory /usr/share/phpmyadmin/>
            Options FollowSymLinks -MultiViews -Indexes
            AllowOverride All
            Order Deny,Allow
            Deny from All
            Allow from Ton_ip_local
    </Directory>

    ErrorLog /var/log/apache2/error-phpmyadmin.log
    LogLevel warn
    CustomLog /var/log/apache2/access-phpmyadmin.log combined

    ServerSignature On

[/code]

Cela devrait te suffire.

Ha ouais excuse moi je viens juste de capter que PMA utilisait une conf Apache intégré maintenant ^^’

En faite par default il vas faire un alias sur tout tes VirtualHost. Tu as mis un include de /etc/phpmyadmin/apache.conf dans ton /etc/apache2/apache.conf du coup ? Si c’est ça que tu as fais tu peux l’enlever et le mettre dans ton VirtualHost “sous-domaine.ndd.fr

Si tu as pas fait ça fait la commande “grep -RinH phpmyadmin /etc/apache2” pour trouver où est fait le inlude.

Excuse moi du temps de réaction j’avais pas fait gaffe à la doc de PMA ^^’

[Edit] : BelZéButh sur ta méthode tu n’enlève pas le fichier /etc/phpmyadmin/apache.conf tu comment juste l’alias ça peut-être gênant car le reste des configuration est active. Je trouve préférable de faire un include dans le VirtualHost désiré, les directives s’appliqueront donc pas au apache.conf (donc l’ensemble du serveur web) mais uniquement au VirtuaHost utilisé. Les deux méthodes marches néanmoins à toi de voir :wink:

Ah parfait !

C’est tout bon, j’ai commenté l’Alias dans /etc/phpmyadmin/apache.conf et je l’ai rajouté dans le VirtualHost de mon sous-domaine et tout est ok.

PMA est accessible maintenant uniquement depuis mon sous-domaine.

Merci beaucoup à tous les deux ! :041