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 2009-01-05 12:52:27

pieters
Member
Registered: 2008-11-27
Posts: 8

Publishing GLPI with ISA server: link translation problem

Hi,

I trying to publish our GLPi site with ISA server. At this moment I don't have much success ...

I made a publishing rule on the ISA that works fine for showing the login screen etc... but all referenced pages inside the php-page are not 'link translated' by ISA.

let me explain:
I used the external url https://mysite.mycomp.be in ISA to publish the internal http://myserver/glpi site. ISA applies link translation so that the eternal https://mysite.mycomp.be is mapped correctly to http://myserver/glpi

The login-page appears, unless for example, the css; because in the html-code I see:

<link rel='stylesheet' href='/glpi/css/styles_ie.css' type='text/css' media='screen' >

this means that the css has a site-relative path. So, my browser, via ISA, tries to look for http://myserver/glpi/glpi/css/styles_ie.css (notice the double glpi-folder), because of the publishing link translation rule of ISA. And... of course this fails. ISA can not handle site-relative paths to translate.

Is there a way that GLPI can use absolute paths in its links ? Because ISA does handle absolute links. So in the files should appear:

<link rel='stylesheet' href='http://myserver/glpi/css/styles_ie.css' type='text/css' media='screen' >

Thanks for the help !

Offline

#2 2009-01-09 00:47:23

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Publishing GLPI with ISA server: link translation problem

There is no way to do that simply. This a specific need of your server.

If you want to use windows i recommand to use Xampp for GLPI.

But if you want a robust solution have a look on a linux installation.


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

Board footer

Powered by FluxBB