You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-06-29 08:30:42

UnnamedGLPIuser
Member
Registered: 2018-09-01
Posts: 6

Web server root directory configuration is not safe with ispConfig

I have the problem that many links do not work because after that the session expired. I installed an empty GLPI again to see if it is here too. The problem is the policy change of the now unfortunately required htaccess rule:
RewriteRule ^(.*)$ public/index.php [QSA,L].

If this rule is not set there is the warning on the website, but everything works in the system. The change is also described here: https://glpi-install.readthedocs.io/en/ … figuration

We use Debian as operating system with the management interface ispConfig. Here the root directory /var/www/clients/client1/web11/web is stored by the internal rights. All data from glpi is moved to this directory. Thus the web page http://example.local/ is called and not http://example.local/glpi/ .
If I make the described change of the root directory to /var/www/clients/client1/web11/web/public, then the GLPI does not work at all. Is actually also clear, since the web server then can no longer reach the other directories. So I made the .htaccess change where I get logged out on many links.

I don't understand this. I've been using GLPI for 7 years and now I just can't get on with such a small update.

Offline

#2 2023-06-29 09:21:54

pierreL
Member
Registered: 2023-05-22
Posts: 61

Re: Web server root directory configuration is not safe with ispConfig

Hi,

it seems that the web page can be acceded by example.local/glpi/ (in your example) with the help of Alias option in config file. But the Alias option seems to not work. Bug or not ?
The solution of the "Web server root directory configuration is not safe" issue seems to cause more problems than it solve.

Offline

Board footer

Powered by FluxBB