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 :

Apache - OCS & GLPI - Erreur 403


Sujet :

Apache

  1. #1
    Nouveau membre du Club
    Homme Profil pro
    Architecte réseau
    Inscrit en
    Décembre 2013
    Messages
    35
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Vienne (Poitou Charente)

    Informations professionnelles :
    Activité : Architecte réseau
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Décembre 2013
    Messages : 35
    Points : 37
    Points
    37
    Par défaut Apache - OCS & GLPI - Erreur 403
    Bonjour à tous,

    Je me trouve confronté à un problème sur une Debian où apache, GLPI & OCS sont installé. Lorsque je veux configurer le plugin OCSNG dans GLPI je me retrouve fac à une erreur 403.

    Le lien quand on veut configurer le plugin c'est : http://10.10.1.5/plugins/ocsinventor...ont/config.php

    /var/log/apache2/error.log when 403 trigger : AH01630: client denied by server configuration: /var/www/glpi/plugins/ocsinventoryng/front/config.php, referer: http://10.10.1.5/front/plugin.php

    • Apache 2.4.10
    • GLPI 0.90.1
    • OCSNG plugin 1.2.1
    • OCS Server 2.2


    Si je fait sur un navigateur web 10.10.1.5 je tombe sur GLPI et tout marche, si je fait 10.10.1.5/ocsreports je tombe sur OCS et ça marche et même si je fait 10.10.1.5/front ça marche mais /plugins qui est dans le même dossier avec les même droits, ..., comprend pas.

    ls -l /var/www/glpi
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    total 164
    drwxrwxr-x  2 www-data root      4096 nov.  27 15:30 ajax
    -rw-rw-r--  1 www-data root       194 nov.  27 15:30 AUTHORS.txt
    -rw-rw-r--  1 www-data root        64 nov.  27 15:30 CHANGELOG.txt
    drwxrwxr-x  2 www-data root      4096 févr. 15 09:44 config
    -rw-rw-r--  1 www-data root     18092 nov.  27 15:30 COPYING.txt
    drwxrwxr-x  4 www-data root      4096 nov.  27 15:30 css
    drwxr-xr-x  2 www-data www-data  4096 févr. 15 09:20 download
    drwxrwxr-x 13 www-data root      4096 févr. 15 09:44 files
    drwxrwxr-x  2 www-data root     20480 nov.  27 15:30 front
    drwxrwxr-x  2 www-data root     20480 nov.  27 15:30 inc
    -rw-rw-r--  1 www-data root      6811 nov.  27 15:30 index.php
    drwxrwxr-x  3 www-data root      4096 févr.  8 10:30 install
    drwxrwxr-x 16 www-data root      4096 nov.  27 15:30 lib
    -rw-rw-r--  1 www-data root       145 nov.  27 15:30 LISEZMOI.txt
    drwxrwxr-x  2 www-data root      4096 nov.  27 15:30 locales
    drwxr-xr-x  2 www-data www-data  4096 févr.  8 16:34 logs
    drwxrwxr-x  5 www-data root      4096 nov.  27 15:30 pics
    drwxrwxrwx  3 www-data www-data  4096 févr. 15 09:54 plugins
    -rw-rw-r--  1 www-data root       124 nov.  27 15:30 README.txt
    -rw-rw-r--  1 www-data root     21138 nov.  27 15:30 script.js
    drwxrwxr-x  2 www-data root      4096 nov.  27 15:30 scripts
    -rw-rw-r--  1 www-data root      6256 nov.  27 15:30 status.php
    ls -l /var/www/glpi/plugins/
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    total 8
    drwxrwxrwx 9 www-data www-data 4096 nov.  20 21:25 ocsinventoryng
    -rwxrwxrwx 1 www-data www-data   80 nov.  27 15:30 remove.txt
    ls -l /var/www/glpi/plugins/ocsinventoryng/
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    total 148
    drwxrwxrwx 2 www-data www-data  4096 nov.  20 21:25 docs
    drwxrwxrwx 2 www-data www-data  4096 nov.  20 21:25 front
    -rwxrwxrwx 1 www-data www-data 92021 nov.  19 19:00 hook.php
    drwxrwxrwx 2 www-data www-data  4096 nov.  20 21:25 inc
    drwxrwxrwx 3 www-data www-data  4096 nov.  20 21:25 install
    -rwxrwxrwx 1 www-data www-data 18092 déc.  15  2012 LICENSE
    drwxrwxrwx 2 www-data www-data  4096 nov.  20 21:25 locales
    drwxrwxrwx 2 www-data www-data  4096 nov.  20 21:25 pics
    drwxrwxrwx 2 www-data www-data  4096 nov.  20 21:25 scripts
    -rwxrwxrwx 1 www-data www-data  7040 nov.  20 20:54 setup.php
    ls -l /var/www/glpi/plugins/ocsinventoryng/front/
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    total 104
    -rwxrwxrwx 1 www-data www-data 2061 juin   4  2015 config.form.php
    -rwxrwxrwx 1 www-data www-data 1818 janv. 12  2015 config.php
    -rwxrwxrwx 1 www-data www-data 4155 févr. 26  2015 deleted_equiv.php
    -rwxrwxrwx 1 www-data www-data 1416 janv. 12  2015 detail.php
    -rwxrwxrwx 1 www-data www-data 1312 févr. 26  2015 devicebiosdata.form.php
    -rwxrwxrwx 1 www-data www-data 1309 févr. 26  2015 devicebiosdata.php
    -rwxrwxrwx 1 www-data www-data 1325 févr. 26  2015 item_devicebiosdata.form.php
    -rwxrwxrwx 1 www-data www-data 1406 janv. 12  2015 logs.php
    -rwxrwxrwx 1 www-data www-data 1416 janv. 15  2015 networkport.php
    -rwxrwxrwx 1 www-data www-data 1281 oct.  15  2013 networkporttype.form.php
    -rwxrwxrwx 1 www-data www-data 1277 oct.  15  2013 networkporttype.php
    -rwxrwxrwx 1 www-data www-data 1933 oct.  15  2013 notimportedcomputer.form.php
    -rwxrwxrwx 1 www-data www-data 1436 janv. 12  2015 notimportedcomputer.php
    -rwxrwxrwx 1 www-data www-data 1908 janv. 12  2015 ocslink.form.php
    -rwxrwxrwx 1 www-data www-data 2294 janv. 12  2015 ocsng.clean.php
    -rwxrwxrwx 1 www-data www-data 5178 mars   5  2015 ocsng.import.php
    -rwxrwxrwx 1 www-data www-data 3658 janv. 12  2015 ocsng.link.php
    -rwxrwxrwx 1 www-data www-data 2178 janv. 12  2015 ocsng.php
    -rwxrwxrwx 1 www-data www-data 3439 janv. 12  2015 ocsng.sync.php
    -rwxrwxrwx 1 www-data www-data 2010 févr.  3  2015 ocsserver.form.php
    -rwxrwxrwx 1 www-data www-data 1375 janv. 12  2015 ocsserver.php
    -rwxrwxrwx 1 www-data www-data 1750 janv. 13  2015 profile.form.php
    -rwxrwxrwx 1 www-data www-data 1456 janv. 12  2015 thread.form.php
    -rwxrwxrwx 1 www-data www-data 1845 janv. 12  2015 thread.php
    /etc/apache2/sites-available/000-default.conf :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    <VirtualHost *:80>
            ServerAdmin webmaster@localhost
            DocumentRoot /var/www/glpi
     
            <Directory /var/www/glpi>
              Options Indexes FollowSymLinks MultiViews
              AllowOverride None
              Require all granted
            </Directory>
     
            ErrorLog ${APACHE_LOG_DIR}/error.log
            CustomLog ${APACHE_LOG_DIR}/access.log combined
    </VirtualHost>
    J'ai regardé et essayé plusieurs trucs mais je sèche alors si une âme charitable passe par là please help me

  2. #2
    Nouveau membre du Club
    Homme Profil pro
    Architecte réseau
    Inscrit en
    Décembre 2013
    Messages
    35
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Vienne (Poitou Charente)

    Informations professionnelles :
    Activité : Architecte réseau
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Décembre 2013
    Messages : 35
    Points : 37
    Points
    37
    Par défaut
    Petite avancé, si je fait un alias de /plugins2 vers /plugins et que je retroune dans mon navigateur web sur 10.10.1.5/plugins2 plus d'erreur et je ne comprend pas à quoi c'est du, qu'est qui pourrait prendre la place du /plugins et qui serait en deny.

  3. #3
    Nouveau Candidat au Club
    Homme Profil pro
    Technicien réseau
    Inscrit en
    Mars 2016
    Messages
    1
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Canada

    Informations professionnelles :
    Activité : Technicien réseau
    Secteur : Enseignement

    Informations forums :
    Inscription : Mars 2016
    Messages : 1
    Points : 1
    Points
    1
    Par défaut Même problème ici
    Il semble que le nom "plugins" soit réservé par OCS ou GLPI et ne peut donc pas être utilisé par les deux en même temps.
    J'ai essayé de faire un virtual host pour les séparer, mais ça n'a pas marché.

Discussions similaires

  1. Erreur 403 sur Apache 2.4.6 (Debian Jessie)
    Par Florian M. dans le forum Apache
    Réponses: 2
    Dernier message: 04/11/2013, 11h05
  2. [Administration] Apache SVN / Probléme connection svn,erreur 403?
    Par Mika2008 dans le forum Subversion
    Réponses: 1
    Dernier message: 01/09/2009, 18h57
  3. [Apache] Erreur 403 sur public_html
    Par GLDavid dans le forum Apache
    Réponses: 1
    Dernier message: 30/03/2007, 08h59
  4. Apache phpMyAdmin erreur 403
    Par Langly dans le forum Apache
    Réponses: 1
    Dernier message: 05/09/2006, 22h05
  5. Erreur 403 sur Apache
    Par Mamoudou Ly dans le forum Apache
    Réponses: 1
    Dernier message: 14/08/2006, 14h21

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