You are not logged in.
Pages: 1
Ubuntu 20.04 / standard OS install and configuration.
In order to change the document root, I typically change /etc/apache2/sites-enabled/000-default.conf.
From: DocumentRoot /var/www/html
To: DocumentRoot /var/www/html/subfolder
Or something similar.
When I do this for GLPI, it breaks the site. I assume this is because this path is hardcoded or otherwise defined somewhere in the configuration of this software.
What file or files do I need to update in order to change the DocumentRoot in Apache?
Thanks.
Offline
Surely someone has knowledge on what needs to change in order to change the documentroot. Anyone?
Offline
Anyone? Please?
Offline
The URL of the application is set in Setup > General on the General setup tab.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
I updated the URL as suggested to: helpdesk.company.com. I then restarted the server.
When I pulled up the site using helpdesk.company.com, the apache default page comes up.
I then edited /etc/apache2/sites-enabled/000-default.conf from:
DocumentRoot /var/www/html
To:
DocumentRoot /var/www/html/glpi
I then restarted the server again.
helpdesk.company.com now doesn't load anything at all.
helpdesk.company.com/glpi now also doesn't work as well.
I changed the /etc/apache2/sites-enabled/000-default.conf file back to:
DocumentRoot /var/www/html
And then restarted the webserver.
helpdesk.company.com/glpi works again, but helpdesk.company.com still produces the default Apache page.
Thoughts?
Offline
Pages: 1