problème .htaccess et acces à phpmyadmin
Bonjour à tous!
Comme je l'ai mentionné dans une autre discution (http://www.developpez.net/forums/vie...308650#2308650) l'authentification via .htaccess ne fonctionne que si je modifie apache2.conf de la manière suivante :
Code:
1 2 3 4 5 6 7 8 9
| <Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options Indexes SymLinksIfOwnerMatch IncludesNoExec
</Directory>
par
<Directory /var/www/*>
AllowOverride FileInfo AuthConfig Limit
Options Indexes SymLinksIfOwnerMatch IncludesNoExec
</Directory> |
Mes fichiers et dossiers se trouvant tous dans /var/www.
Or en faisant cette modification, je n'ai plus accès à phpmyadmin (qui se trouve à /var/www/phpmyadmin). Je me suis aussi rendu compte qu'un .htaccess de trouvait justement dans /var/www/phpmyadmin.
Voici ce .htaccess :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
DirectoryIndex index.php
Options +FollowSymLinks
Order allow,deny
Allow from all
<IfModule mod_mime.c>
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals On
php_value include_path .
</IfModule>
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals On
php_value include_path .
</IfModule>
<IfModule !mod_php4.c> |
Et à vrai dire, je n'y comprends pas grand chose.....les .htacces que j'ai créé sont beaucoup plus simples...
Quelle est la solution? je réécris ce .htaccess? Si c'est possible, Pourriez-vous m'expliquer un peu ce qu'il y a d'écrit dans ce.htaccess et comment à accéder à phpmyadmin sans avoir à le modifier ?
Merci d'avance :wink:
A+