IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Apache Discussion :

[Débutant] - Redirection simple


Sujet :

Apache

  1. #1
    Membre averti

    Profil pro
    Inscrit en
    Novembre 2005
    Messages
    385
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2005
    Messages : 385
    Points : 321
    Points
    321
    Par défaut [Débutant] - Redirection simple
    Bonjour à tous,

    je suis débutant en ce qui concerne la configuration d'apache.

    Je voudrais que lorsque l'utilisateur tape :
    http://monserveur:port ou http://monserveur:port/ ou http://monserveur:port/monAppli

    qu'il soit rediriger vers http://monserveur:port/monAppli/

    Dans le fichier de conf d'apache j'ai spécifier http://monserveur:port/monAppli/ comme DoucmentRoot.

    Pareil pour accèder à phpmyadmin, l'utilisateur est obligé de taper l'url : http://monserveur:port/phpmyadmin/ avec le dernier "/". Comment faire pour afficher phpmyadmin en saisissant http://monserveur:port/phpmyadmin

    merci d'avance

  2. #2
    Rédacteur/Modérateur

    Avatar de gorgonite
    Homme Profil pro
    Ingénieur d'études
    Inscrit en
    Décembre 2005
    Messages
    10 322
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur d'études
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2005
    Messages : 10 322
    Points : 18 681
    Points
    18 681
    Par défaut
    fais voir ton fichier de conf... je pense que c'est un "/" en trop à la fin des Alias

  3. #3
    Membre averti

    Profil pro
    Inscrit en
    Novembre 2005
    Messages
    385
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2005
    Messages : 385
    Points : 321
    Points
    321
    Par défaut
    Voici le fichier de conf
    Fichiers attachés Fichiers attachés

  4. #4
    Membre averti

    Profil pro
    Inscrit en
    Novembre 2005
    Messages
    385
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2005
    Messages : 385
    Points : 321
    Points
    321
    Par défaut
    Il faut que je crée un alias pour chaque URL ?

  5. #5
    Rédacteur/Modérateur

    Avatar de gorgonite
    Homme Profil pro
    Ingénieur d'études
    Inscrit en
    Décembre 2005
    Messages
    10 322
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur d'études
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2005
    Messages : 10 322
    Points : 18 681
    Points
    18 681
    Par défaut
    Citation Envoyé par erwan.bodere
    Il faut que je crée un alias pour chaque URL ?

    nan seulement pour celles qui ne sont pas accessibles... ie qui ne sont pas dans un répertoire accessible

    ensuite tu peux en mettre plus si tu le souhaites

  6. #6
    Rédacteur/Modérateur

    Avatar de gorgonite
    Homme Profil pro
    Ingénieur d'études
    Inscrit en
    Décembre 2005
    Messages
    10 322
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur d'études
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2005
    Messages : 10 322
    Points : 18 681
    Points
    18 681
    Par défaut
    manque ce fichier D:/CRIVENTE/wamp/apache2/conf/alias/phpmyadmin.conf

  7. #7
    Membre averti

    Profil pro
    Inscrit en
    Novembre 2005
    Messages
    385
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2005
    Messages : 385
    Points : 321
    Points
    321
    Par défaut
    le fichier de conf de phpmyadmin
    Fichiers attachés Fichiers attachés

  8. #8
    Rédacteur/Modérateur

    Avatar de gorgonite
    Homme Profil pro
    Ingénieur d'études
    Inscrit en
    Décembre 2005
    Messages
    10 322
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur d'études
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2005
    Messages : 10 322
    Points : 18 681
    Points
    18 681
    Par défaut
    essaies cela...

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    Alias /phpmyadmin "D:/CRIVENTE/wamp/phpmyadmin/"

  9. #9
    Membre averti

    Profil pro
    Inscrit en
    Novembre 2005
    Messages
    385
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2005
    Messages : 385
    Points : 321
    Points
    321
    Par défaut
    Oui mais en faisant comme cela si l'utilisateur tapr l'url http://monserveur:monport/phpmyadmin il ne sera pas rediriger vers http://monserveur:monport/phpmyadmin/

    Ce n'est pas si génant que ça, mais j'aimerais bien savoir si c'est possible de réaliser cela.

  10. #10
    Rédacteur/Modérateur

    Avatar de gorgonite
    Homme Profil pro
    Ingénieur d'études
    Inscrit en
    Décembre 2005
    Messages
    10 322
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur d'études
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2005
    Messages : 10 322
    Points : 18 681
    Points
    18 681
    Par défaut
    Citation Envoyé par erwan.bodere
    Oui mais en faisant comme cela si l'utilisateur tapr l'url http://monserveur:monport/phpmyadmin il ne sera pas rediriger vers http://monserveur:monport/phpmyadmin/

    Ce n'est pas si génant que ça, mais j'aimerais bien savoir si c'est possible de réaliser cela.

    url_rewrite

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [Débutant] RollOver simple
    Par webrider dans le forum Général JavaScript
    Réponses: 3
    Dernier message: 23/02/2007, 20h32
  2. [Débutant] Calcul simple
    Par Kstark dans le forum Windows Forms
    Réponses: 3
    Dernier message: 12/02/2007, 09h51
  3. Réponses: 2
    Dernier message: 18/01/2007, 21h38
  4. [débutant] Redirection url
    Par trihanhcie dans le forum Général JavaScript
    Réponses: 7
    Dernier message: 12/05/2006, 15h56

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo