- ScriptAlias (in Znuny) restored back to the default ("znuny/").
- First round modifications to Apache file, reverted from a backup
- Second round modifications to Apache file, reverted
viewtopic.php?f=60&t=9329
Obviously, in sync with this, I removed the Script Alias. This had sporadic results, so I clearly didn't do that one right.
My second round modifications were to replace "znuny." with "helpdesk/". That was an easier modification, as I merely replaced (in the Apache file):
- ScriptAlias /znuny/ "/opt/znuny/bin/cgi-bin/" with ScriptAlias /helpdesk/ "/opt/znuny/bin/cgi.bin/"
- <Location /znuny> with <Location /helpdesk>
- <Location /znuny/nph-genericinterface.pl> with <Location /helpdesk/nph-genericinterface.pl>
From there, the Agent portal seemed to work well, but when I visited the customer portal, it ended up redirecting me to "host.example.com".
Searching another article, I found a similar issue with someone's agent portal acting the same way, and the advise was to correct it in the ZZZAAuto.pm file. A text search of that fine, actually found hard-coded "host.example.com", which I manually tried replacing to the actual URL, but with no luck. Now I was hitting my own server with a redirect statement in the path:
Code: Select all
https://<REDACTED HOST>/znuny/customer.pl?RequestedURL=RequestedURL%3D
To clarify, in the cgi-bin folder, is the customer.pl file (which was untouched).
Does anyone know how I can fix the customer portal? Kind of at a loss. Fortunately, this isn't in production yet (just testing in prep, and tweaking of course), so we're not like dead in the water, but I sure would love to get this corrected, if anyone else has had this issue before.
I'd also love to maybe post a more current "how to" on removing or modifying that path, so others don't have to try translating the older documentation.
Thanks.