You are not logged in.
Pages: 1
Topic closed
I changed our virtual host file so that we can surf glpi.ourdomain.com
But since then we are nog able to go to any plugin. So al long as the path is glpi.ourdomain.com/front/.... everything works
when we try to go to glpi.ourdomain.com/plugins/fusioninventory/front/menu.php we get an 403 acces denied.
All the rights on the plugin folder match the front folder.
[Mon Jul 04 11:27:52.220939 2016] [authz_core:error] [pid 4583] [client 10.20.96.70:55855] AH01630: client denied by server configuration: /usr/share/glpi/plugins/racks/racks.css, referer: http://glpi.ourdomain.com/front/computer.php
apache2 log
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName glpi.ourdomain.com
ServerAdmin webmaster@localhost
DocumentRoot /usr/share/glpi
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/glpinieuwerror.log
CustomLog ${APACHE_LOG_DIR}/glpinieuwaccess.log combined
<Directory /usr/share/glpi>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
Allow from all
</Directory>
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
anyone has an idea on what is wrong?
Last edited by GoempieK (2016-07-04 11:42:14)
Offline
Anybody have an idea why the glpie/front/... is perfectly working, but the folder glpi/plugins/... is inaccessible get a 403 errror.
Thanks
Offline
Fixed.
In z-ocsinventory-server.conf, you can find the following:
#Web Service for plugin engine
<Location /plugins>
<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
order deny,allow
allow from 127.0.0.1
</IfModule>
SetHandler perl-script
PerlHandler Apache::Ocsinventory::Plugins::Apache
</Location>
I disabled the config file Z-ocs.... the plugins folder worked again.
Don't use ocs anymore we transfered everything to fusion.
Offline
Pages: 1
Topic closed