[apache] Directory forbidden

Fermé
bezourox Messages postés 729 Date d'inscription vendredi 30 mars 2007 Statut Membre Dernière intervention 19 janvier 2013 - 16 déc. 2009 à 13:42
bezourox Messages postés 729 Date d'inscription vendredi 30 mars 2007 Statut Membre Dernière intervention 19 janvier 2013 - 16 déc. 2009 à 14:03
Bonjour,

Voila sur une debian lenny à jour, le classique apache,php,mysql,bind,samba,ftp,... une GLPI couplé à un OCS Inventory.
J'ai tout configuré età peu près tout marche sauf le déploiement de paquets.

Lorsqu'un client OCS tente de récupérer les paquets dans le dossier download du serveur ocs (/var/www/download), voici le log d'apache :

Directory index forbidden by Options directive: /var/lib/ocsinventory-reports/download/

Voici le /etc/apache2.conf.d/ocsinventory-reports.conf :

################################################################################
#
# OCS Inventory NG Administration Server
#
# Copyleft 2008 OCS Inventory NG Team
# Web: https://ocsinventory-ng.org/?lang=fr
#
# This code is open source and may be copied and modified as long as the source
# code is always made freely available.
# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt
################################################################################

#
# ANY CHANGE ON THIS FILE REQUIRES APACHE RESTART TO TAKE EFFECT
#

################################################################################
# Administration console public pages
#
# Alias used to put Administration Server static page (typically PHP) outside
# Apache document root directory
#
Alias /ocsreports /usr/share/ocsinventory-reports/ocsreports

<Directory /usr/share/ocsinventory-reports/ocsreports>
# By default, users can use console from everywhere
Order deny,allow
Allow from all
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride Options

# Uncomment following to force use of HTTPS in Administration Server
#SSLRequireSSL

# PHP tuning (not working on all distribution, use php.ini instead)
AddType application/x-httpd-php .php
php_flag file_uploads on
# Some PHP tuning for deployement feature up to 8 MB
# post_max_size must be greater than upload_max_filesize
# because of HTTP headers
php_value post_max_size 40m
php_value upload_max_filesize 38m
# You may have to uncomment following on errors
#php_value max_execution_time -1
#php_value max_input_time -1

# Uncomment following to allow HTTP body request up to 4 MB
# instead default 512 KB
#LimitRequestBody 4194304
</Directory>

################################################################################
# Deployment packages download area
#
# Alias to put Deployement package files outside Apache document root directory
#
Alias /download /var/lib/ocsinventory-reports/download


Je ne comprends donc pas mon problème...
A voir également:

1 réponse

bezourox Messages postés 729 Date d'inscription vendredi 30 mars 2007 Statut Membre Dernière intervention 19 janvier 2013 143
16 déc. 2009 à 14:03
je viens de completer ce fichier pour déclarer l'alias dowload et tout est rentré dans l'ordre.
J'acccède maintenant à :
https://IP_du_serveur/download/

Par contre mon client ne réucpère toujours pas le paquet disponible.... et pas un seul message d'erreur...
0