Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/08/2006, à 18:20

kokovener

[ Résolu] pb acces à phpmyadmin a partir d'un lien

Bonjour,

Le document root de mon serveur httpd est /home/user/www

Je voudrais toujours avoir acces a phpmyadmin en tapant http://localhost/phpmyadmin

j'ai donc créer le lien suivnat dans mon repertoire www:

lrwxrwxrwx 1 user user 19 2006-08-03 17:58 phpmyadmin -> /var/www/phpmyadmin

mais lorsque je tape mon url http://localhost/phpmyadmin, je n'ai plus acces a phpmyadmin à cause des droits: permission denied ...

Si quelqu'un pouvais me dire où est ce que j'ai sauté une étape dans la config ... ?

merci bcp smile

Dernière modification par kokovener (Le 04/08/2006, à 11:05)


Tout ça commence à rentrer :)

Hors ligne

#2 Le 03/08/2006, à 23:46

dexinou

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

Salut,
regarde dans ton fichier de conf apache qui sont les noms de user et group pour le serveur apache.
si c'est user=www-data et group=www-data alors tu modifis les droits pour phpmyadmin

# chown www-data:www-data /path/to/phpmyadmin

sinon c

# chown nobody:nogroup /path/to/phpmyadmin

tu crée un fichier nommé phpmyadmin.conf dans /etc/apache2/conf/

# touch /etc/apache2/conf/phpmyadmin.conf

tu lui donnes les droits pour le serveur :

# chown www-data:www-data /etc/apache2/conf/phpmyadmin.conf

Avec ton éditeur de texte vim ou vi ou nano tu mets ceci dedans :

Alias /phpmyadmin /home/franck/www/phpmyadmin
<Directory "/home/franck/www/phpmyadmin/">
Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from 127.0.0.1
</Directory>

tu redémarres le serveur apache

# /etc/init.d/apache2 reload

Si tu as encore des erreurs c'est soit que tu n'as pas installé phpmyadmin (ben oui ça peut arriver wink )
que tu as une erreurs dans ta config
que tu as donné les mauvais droits aux fichiers.
que tu as recopier ce que j'ai mi sans changer les path par rapport à ta config.
Si tu veux que phpmyadmin soit dans /home/user/www alors le lien, tu dois le crée là et non pas dans /var/www

Comme ceci :

# ln-s /usr/share/phpmyadmin /home/user/www

Dernière modification par dexinou (Le 04/08/2006, à 14:26)


Ubuntu 9.10 64bits ext4 ® Core 2 Duo
Unix..... il y a moins bien mais c'est plus cher.
Si t'as pas compris la réponse, pose mieux ta question.
Tutoriaux Linux, apache, pure-ftpd, bind, mysql, qmail...

Hors ligne

#3 Le 04/08/2006, à 08:35

kokovener

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

Merci pour ton aide, mais ça ne fonctionne pas:)

En fait si tu veux, j'avais bien acces à phpmyadmin avant de faire le lien pour qu'il soit accessible dans user/www

c'est à partir de ce lien que je n'y ai plus acces avec le navigateur, et je ne comprend vraiment pas pourquoi ??? ...


Tout ça commence à rentrer :)

Hors ligne

#4 Le 04/08/2006, à 08:38

dexinou

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

c une question de droits
apache doit pouvoir lire dans cet emplacement.


Ubuntu 9.10 64bits ext4 ® Core 2 Duo
Unix..... il y a moins bien mais c'est plus cher.
Si t'as pas compris la réponse, pose mieux ta question.
Tutoriaux Linux, apache, pure-ftpd, bind, mysql, qmail...

Hors ligne

#5 Le 04/08/2006, à 09:08

kokovener

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

Je suis d'accord avec toi,
le soucis c'est que j'ai un index.php au même niveau que mon lien auquel apache accede bien ...

user@user-ubuntu:/$ ls -l /home/franck/www/
total 4
-rw-r--r-- 1 user user 22 2006-08-03 16:00 index.php
lrwxrwxrwx 1 user user 21 2006-08-04 08:18 phpmyadmin -> /usr/share/phpmyadmin

Tout ça commence à rentrer :)

Hors ligne

#6 Le 04/08/2006, à 09:50

yohann

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

bonjour

peux tu poster le resultat du  ls -l /usr/share s'il te plait


j.vachez, le génie du net | Soirées jeux sur Lyon | 441
++++++++++[>+++++++>++++++++++>+++<<<-]>++.>+.+++++++
..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.

Hors ligne

#7 Le 04/08/2006, à 10:24

dexinou

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

tu peux faire un :
# chmod o+x /home/franck/www/

sinon dit moi ce que donne dans ton navigateur :

http://localhost/~franck/www/phpmyadmin

Dernière modification par dexinou (Le 04/08/2006, à 10:28)


Ubuntu 9.10 64bits ext4 ® Core 2 Duo
Unix..... il y a moins bien mais c'est plus cher.
Si t'as pas compris la réponse, pose mieux ta question.
Tutoriaux Linux, apache, pure-ftpd, bind, mysql, qmail...

Hors ligne

#8 Le 04/08/2006, à 10:32

kokovener

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

voilà le resultat:
tout est en root, mais comme je te le disais j y ai acces qd je ne passe pas par le lien ...

user@user-ubuntu:~$ ls -l /usr/share
total 1072
drwxr-xr-x    2 root root  4096 2006-07-13 14:04 aclocal
drwxr-xr-x    2 root root  4096 2006-07-13 14:01 acpi-support
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 adduser
drwxr-xr-x    5 root root  4096 2006-05-31 02:50 alsa
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 alsa-base
drwxr-xr-x    8 root root  4096 2006-08-03 13:50 apache2
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 apmd
drwxr-xr-x    5 root root  4096 2006-05-31 02:52 app-install
drwxr-xr-x    2 root root  4096 2006-07-13 14:05 application-registry
drwxr-xr-x    2 root root  8192 2006-08-03 19:42 applications
drwxr-xr-x    3 root root  4096 2006-05-31 02:54 applnk
drwxr-xr-x    3 root root  4096 2006-05-31 02:50 apps
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 apt
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 aptitude
drwxr-xr-x    2 root root  4096 2006-05-31 03:03 aspell
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 avahi
drwxr-xr-x    2 root root  4096 2006-05-31 02:54 backgrounds
drwxr-xr-x    2 root root  4096 2006-08-03 14:12 base-files
drwxr-xr-x    2 root root  4096 2006-05-31 02:49 base-passwd
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 binfmts
drwxr-xr-x    2 root root  4096 2006-01-19 00:11 bittorrent
drwxr-xr-x    2 root root  4096 2006-08-03 14:14 blackjack
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 bluez-pin
drwxr-xr-x   17 root root  4096 2006-05-31 02:54 bug
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 bug-buddy
drwxr-xr-x    8 root root  4096 2006-05-31 02:52 ca-certificates
drwxr-xr-x    6 root root  4096 2006-05-31 02:52 calendar
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 cdrdao
drwxr-xr-x    2 root root  4096 2006-08-03 14:12 common-licenses
drwxr-xr-x    2 root root  4096 2006-08-03 19:48 compiz
drwxr-xr-x    3 root root  4096 2006-05-31 02:50 console
drwxr-xr-x    2 root root  8192 2006-05-31 02:50 consolefonts
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 console-tools
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 consoletrans
drwxr-xr-x    6 root root  4096 2006-05-31 02:53 control-center-2.0
drwxr-xr-x   10 root root  4096 2006-08-03 14:13 cups
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 dbus-1
drwxr-xr-x    2 root root  4096 2006-05-31 02:49 debconf
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 debhelper
drwxr-xr-x    2 root root  4096 2006-05-31 02:49 debianutils
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 defoma
drwxr-xr-x    3 root root  4096 2006-07-13 14:02 deskbar-applet
drwxr-xr-x    2 root root  4096 2006-08-03 14:14 desktop-directories
drwxr-xr-x    2 root root  4096 2006-05-31 03:03 dict
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 dictionaries-common
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 discover
drwxr-xr-x    4 root root  4096 2006-05-31 02:52 djvu
drwxr-xr-x 1066 root root 28672 2006-08-04 08:13 doc
drwxr-xr-x    3 root root  4096 2006-08-03 14:43 doc-base
drwxr-xr-x    3 root root  4096 2006-05-31 02:49 dpkg
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 emacs
drwxr-xr-x    3 root root  4096 2006-08-03 14:13 eog
drwxr-xr-x    2 root root  4096 2006-07-13 14:02 evince
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 evolution
drwxr-xr-x    5 root root  4096 2006-05-31 02:52 evolution-data-server-1.6
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 evolution-exchange
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 example-content
drwxr-xr-x    2 root root  4096 2006-05-24 02:08 faces
drwxr-xr-x    4 root root  4096 2006-05-31 02:52 festival
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 file
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 file-roller
drwxr-xr-x    8 root root  4096 2006-05-31 02:53 firefox
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 fontconfig
drwxr-xr-x    4 root root  4096 2006-05-31 02:55 fonts
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 foo2hp
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 foo2oak
drwxr-xr-x    5 root root  4096 2006-05-31 02:53 foo2zjs
drwxr-xr-x    4 root root  4096 2006-05-31 02:51 foomatic
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 games
drwxr-xr-x    4 root root  4096 2006-05-31 02:52 gconf
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 gdebi
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 gdict-1.0
drwxr-xr-x    4 root root  4096 2006-05-31 02:52 gdl
drwxr-xr-x    4 root root  4096 2006-08-03 14:13 gdm
drwxr-xr-x    6 root root  4096 2006-05-31 02:53 gedit-2
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 GeoIP
drwxr-xr-x    5 root root  4096 2006-05-31 02:53 gettext
drwxr-xr-x    2 root root  4096 2006-08-03 14:48 gftp
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 ghostscript
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 gimp
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 gksu
drwxr-xr-x    2 root root  4096 2006-08-03 14:14 gnect
drwxr-xr-x    2 root root  4096 2006-08-03 14:14 gnibbles
drwxr-xr-x    2 root root  4096 2006-08-03 14:14 gnobots2
drwxr-xr-x    9 root root  4096 2006-08-03 14:14 gnome
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 gnome-2.0
drwxr-xr-x    3 root root  4096 2006-08-03 14:14 gnome-about
drwxr-xr-x    5 root root  4096 2006-07-13 14:03 gnome-app-install
drwxr-xr-x    5 root root  4096 2006-05-31 02:53 gnome-applets
drwxr-xr-x    2 root root  4096 2006-05-31 02:54 gnome-background-properties
drwxr-xr-x    4 root root  4096 2006-05-31 02:53 gnome-btdownload
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 gnome-cups-manager
drwxr-xr-x    2 root root  4096 2006-07-13 14:02 gnome-default-applications
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 gnome-dictionary
drwxr-xr-x    2 root root  4096 2006-07-13 14:04 gnome-doc-utils
drwxr-xr-x    5 root root  4096 2006-05-31 02:53 gnome-games
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 gnome-mag
drwxr-xr-x    4 root root  4096 2006-05-31 02:52 gnome-media
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 gnome-menus
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 gnome-netstatus
drwxr-xr-x    4 root root  4096 2006-05-31 02:53 gnome-nettool
drwxr-xr-x    4 root root  4096 2006-05-31 02:54 gnome-pilot
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 gnome-power-manager
drwxr-xr-x    3 root root  4096 2006-08-03 14:14 gnome-screensaver
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 gnome-screenshot
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 gnome-sound-recorder
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 gnome-spell-1.0.7
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 gnome-system-log
drwxr-xr-x    4 root root  4096 2006-05-31 02:54 gnome-system-tools
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 gnome-terminal
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 gnome-utils
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 gnome-volume-manager
drwxr-xr-x    4 root root  4096 2006-05-31 02:53 gnopernicus
drwxr-xr-x    2 root root  4096 2006-08-03 14:13 gnupg
drwxr-xr-x   62 root root  4096 2006-05-31 02:53 gok
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 groff
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 gs-esp
drwxr-xr-x    2 root root  4096 2006-08-03 19:42 gset-compiz
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 gst-python
drwxr-xr-x    4 root root  4096 2006-05-31 02:52 gstreamer-properties
drwxr-xr-x    5 root root  4096 2006-05-31 02:53 gthumb
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 gtk-doc
drwxr-xr-x    3 root root  4096 2006-08-03 14:15 gtkhtml-3.8
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 gtksourceview-1.0
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 guile
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 gutenprint
drwxr-xr-x    5 root root  4096 2006-05-31 02:53 hal
drwxr-xr-x    2 root root  4096 2006-05-24 02:08 hosts
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 hotkey-setup
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 hplip
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 hwdata
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 hwdb-client
drwxr-xr-x    4 root root  4096 2006-05-31 02:49 i18n
drwxr-xr-x   24 root root  4096 2006-08-03 14:14 icons
drwxr-xr-x    5 root root  4096 2006-07-13 14:04 idl
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 ifupdown
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 ImageMagick-6.2.4
drwxr-xr-x    4 root root  4096 2006-05-31 02:54 images
drwxr-xr-x    2 root root  4096 2006-05-31 02:58 info
drwxr-xr-x    5 root root  4096 2006-05-31 02:50 initramfs-tools
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 initrd-tools
drwxr-xr-x    2 root root  4096 2006-05-31 02:49 initscripts
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 intltool-debian
drwxr-xr-x    5 root root  4096 2006-05-31 02:53 irssi
drwxr-xr-x    2 root root  4096 2006-07-13 14:04 isdn
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 iso-codes
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 java
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 java-common
drwxr-xr-x    8 root root  4096 2006-05-31 02:50 keymaps
drwxr-xr-x    2 root root  4096 2006-05-31 02:51 keyrings
drwxr-xr-x    4 root root  4096 2006-05-31 02:53 language-selector
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 launchpad-integration
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 lftp
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 libgda
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 libgksuui1.0
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 libgnomeprint
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 libgnomeprintui
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 libgphoto2
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 libxklavier
drwxr-xr-x    3 root root  4096 2006-04-03 15:37 linda
drwxr-xr-x    3 root root  4096 2006-05-16 03:43 lintian
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 linux-sound-base
drwxr-xr-x  119 root root  4096 2006-08-04 08:14 locale
drwxr-xr-x   12 root root  4096 2006-07-13 14:01 locale-langpack
drwxr-xr-x    2 root root  4096 2006-05-31 02:49 locales
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 lookup-applet
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 lshw
drwxr-xr-x    2 root root  4096 2006-08-03 14:43 mailx
drwxr-xr-x   29 root root  4096 2006-05-31 02:53 man
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 man-db
drwxr-xr-x    2 root root  4096 2006-08-03 14:48 menu
drwxr-xr-x    3 root root  4096 2006-07-13 14:03 metacity
drwxr-xr-x   12 root root  4096 2006-08-03 14:17 mime
drwxr-xr-x    2 root root  4096 2006-07-13 14:05 mime-info
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 mimelnk
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 misc
drwxr-xr-x    4 root root  4096 2006-05-31 03:03 myspell
drwxr-xr-x   27 root root  4096 2006-08-03 14:44 mysql
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 nano
drwxr-xr-x    6 root root  4096 2006-08-03 14:15 nautilus
drwxr-xr-x    2 root root  4096 2006-08-03 14:15 nautilus-cd-burner
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 nautilus-sendto
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 nvidia-kernel-common
drwxr-xr-x  105 root root  4096 2006-08-03 14:16 omf
drwxr-xr-x    2 root root  4096 2006-03-14 23:43 opal
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 openoffice
drwxr-xr-x    2 root root  4096 2006-05-31 02:49 pam
drwxr-xr-x    2 root root  4096 2006-04-03 15:37 passwd
drwxr-xr-x    2 root root  4096 2006-07-13 14:06 pcmcia-cs
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 pcmciautils
drwxr-xr-x    3 root root  4096 2006-05-31 02:49 perl
drwxr-xr-x    9 root root  4096 2006-08-03 14:41 perl5
drwxr-xr-x    2 root root  4096 2006-08-03 14:04 php5
drwxr-xr-x    9 root root  4096 2006-08-03 18:02 phpmyadmin
drwxr-xr-x   31 root root 12288 2006-08-03 19:42 pixmaps
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 pkgconfig
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 pmi
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 pnm2ppa
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 po-debconf
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 popularity-contest
drwxr-xr-x    2 root root  4096 2006-08-03 14:43 postfix
drwxr-xr-x    2 root root  4096 2006-05-31 02:53 powernowd
drwxr-xr-x    7 root root  4096 2006-05-31 02:58 ppd
drwxr-xr-x    2 root root  4096 2006-07-13 14:01 ppp
drwxr-xr-x    3 root root  4096 2006-05-31 02:54 rdesktop
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 readline
drwxr-xr-x    2 root root  4096 2006-05-31 02:54 reportbug
drwxr-xr-x    4 root root  4096 2006-05-31 02:54 rhythmbox
drwxr-xr-x    2 root root  4096 2006-07-13 14:05 samba
drwxr-xr-x    4 root root  4096 2006-05-31 02:54 sane
drwxr-xr-x    3 root root  4096 2006-05-31 02:54 scim
drwxr-xr-x    3 root root  4096 2006-05-31 02:51 screen
drwxr-xr-x    5 root root  4096 2006-05-31 02:56 scrollkeeper
drwxr-xr-x    2 root root  4096 2006-05-31 02:54 serpentine
drwxr-xr-x    4 root root  4096 2006-05-31 02:54 setup-tool-backends
drwxr-xr-x   11 root root  4096 2006-05-31 02:52 sgml
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 sgml-base
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 sgml-data
drwxr-xr-x    4 root root  4096 2006-05-31 02:53 snmp
drwxr-xr-x    3 root root  8192 2006-08-03 14:14 sol-games
drwxr-xr-x    2 root root  4096 2006-07-13 14:05 sound-juicer
drwxr-xr-x   11 root root  4096 2006-05-31 02:53 sounds
drwxr-xr-x    2 root root  4096 2006-08-03 13:50 ssl-cert
drwxr-xr-x    5 root root  4096 2006-05-31 02:53 synaptic
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 sysklogd
drwxr-xr-x    2 root root  4096 2006-05-31 02:49 sysvinit
drwxr-xr-x    2 root root  4096 2006-05-31 02:49 tabset
drwxr-xr-x   15 root root  4096 2006-01-13 21:55 terminfo
drwxr-xr-x   41 root root  4096 2006-05-31 02:54 themes
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 tk8.4
drwxr-xr-x    2 root root  4096 2006-08-03 14:15 totem
drwxr-xr-x    2 root root  4096 2006-05-31 02:54 ttf-arphic-ukai
drwxr-xr-x    2 root root  4096 2006-05-31 02:54 ttf-arphic-uming
drwxr-xr-x    4 root root  4096 2006-07-13 14:06 ubuntu-artwork
drwxr-xr-x    6 root root  4096 2006-05-31 02:54 ubuntu-docs
drwxr-xr-x    3 root root  4096 2006-08-03 18:02 ucf
drwxr-xr-x    2 root root  4096 2006-05-31 02:50 unidata
drwxr-xr-x    4 root root  4096 2006-05-31 02:53 update-manager
drwxr-xr-x    3 root root  4096 2006-05-31 02:54 update-notifier
drwxr-xr-x    2 root root  4096 2006-05-16 03:43 util-linux
drwxr-xr-x    2 root root  4096 2006-04-15 13:38 videomodes
drwxr-xr-x    4 root root  4096 2006-05-31 02:50 vim
drwxr-xr-x    3 root root  4096 2006-05-31 02:53 vte
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 w3m
drwxr-xr-x    4 root root  4096 2006-05-31 02:51 X11
drwxr-xr-x    3 root root  4096 2006-05-31 02:52 xman
drwxr-xr-x   14 root root  4096 2006-05-31 02:53 xml
drwxr-xr-x    2 root root  4096 2006-07-13 14:04 xml2po
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 xml-core
drwxr-xr-x    2 root root  8192 2006-08-03 14:14 xmodmap
drwxr-xr-x    2 root root  4096 2006-05-31 02:52 xresprobe
drwxr-xr-x    3 root root  4096 2006-05-31 02:54 xscreensaver
drwxr-xr-x    2 root root  4096 2006-08-03 19:46 xsessions
drwxr-xr-x    5 root root  4096 2006-08-03 14:15 yelp
drwxr-xr-x    3 root root  4096 2006-08-03 14:15 zenity
drwxr-xr-x   21 root root  4096 2006-05-31 02:49 zoneinfo

sinon le "# chmod o+x /home/franck/www/" ne donne rien ... j'avais essayé smile

le reultat pour ça
http://localhost/~franck/www/phpmyadmin
est un 404 document not found

Dernière modification par kokovener (Le 04/08/2006, à 10:39)


Tout ça commence à rentrer :)

Hors ligne

#9 Le 04/08/2006, à 10:54

yohann

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

une directive de apache:

FollowSymLinks

elle doit être présente pour le répertoire dans lequel il y a ton lien
exemple

<Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                # This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                # Commented out for Ubuntu
                #RedirectMatch ^/$ /apache2-default/
        </Directory>

si la directive fallowsymlink n'est pas la apache en suit pas les liens symbolique


j.vachez, le génie du net | Soirées jeux sur Lyon | 441
++++++++++[>+++++++>++++++++++>+++<<<-]>++.>+.+++++++
..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.

Hors ligne

#10 Le 04/08/2006, à 11:05

kokovener

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

Ca à l'air de fonctionner avec ce nouveau code smile

Merci bcp, j'ai plus qu'a essayer d'installer un site avec base de donnée pour finir les tests

tout ça commence à rentrer ....


Tout ça commence à rentrer :)

Hors ligne

#11 Le 04/08/2006, à 14:26

dexinou

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

J'ai remodifié le tuto avec les recommendations de yohann.


Ubuntu 9.10 64bits ext4 ® Core 2 Duo
Unix..... il y a moins bien mais c'est plus cher.
Si t'as pas compris la réponse, pose mieux ta question.
Tutoriaux Linux, apache, pure-ftpd, bind, mysql, qmail...

Hors ligne

#12 Le 04/08/2006, à 14:33

yohann

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

merci dexinou;)


j.vachez, le génie du net | Soirées jeux sur Lyon | 441
++++++++++[>+++++++>++++++++++>+++<<<-]>++.>+.+++++++
..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.

Hors ligne

#13 Le 04/08/2006, à 15:39

kokovener

Re : [ Résolu] pb acces à phpmyadmin a partir d'un lien

Ouais merci,
et je suis content que ça serve à quelque chose mes soucis,
j me sent moins "null" lol


Tout ça commence à rentrer :)

Hors ligne