Hello forum,
For some reason I had to install OTRS on a server with a different port from default 80. Let's say port 4000.
I mean now for me OTRS address is http://XXX.XXX.XXX.XXX:4000/otrs/index.pl (where the X's stand for the server IP address).
So I wanted to add the port in the variable OTRS_CONFIG_FQDN through SysConfig Framework->Core: I set FQDN to XXX.XXX.XXX.XXX:4000
But when I press the "Update" button at the bottom, FQDN is set back to XXX.XXX.XXX.XXX (i.e. port is removed). Why? Is there a control on this field?
How can I achieve?
A nasty idea is to mention the port in all notifications
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>:4000/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_TicketID>
I'm sure it works, but that's ugly. And not efficient because I will have to write it everywhere.
So?
Is there another variable for that purpose?
Regards,
HervE
Add port in OTRS_CONFIG_FQDN
Moderator: crythias
Add port in OTRS_CONFIG_FQDN
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Re: Add port in OTRS_CONFIG_FQDN
as the FQDN is not only used in the notifications you should not have the port in here.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Add port in OTRS_CONFIG_FQDN
OK, that's the answer for the control of this field.
So, how can I do? Is there another field for the port?
HervE
So, how can I do? Is there another field for the port?
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Re: Add port in OTRS_CONFIG_FQDN
No, there is no additional field. You can create one (Config.pm) but also need to change the notifications
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Add port in OTRS_CONFIG_FQDN
How is it any uglier to type :4000 vs <OTRS_PORT>?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Add port in OTRS_CONFIG_FQDN
Looks much uglier to me. I just dislike hard-coded things.
For instance, if one day the port is modified to let's say 4001, I want to have to modify it in only one place (OTRS_PORT) - and not in all notifications.
Regards,
HervE
For instance, if one day the port is modified to let's say 4001, I want to have to modify it in only one place (OTRS_PORT) - and not in all notifications.
Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30