Quantcast
Channel: Znuny Open Source Ticketsystem
Viewing all articles
Browse latest Browse all 320

Trying to get rid of "znuny" path, ended up killing customer.pl but not sure how...

$
0
0
Good evening. So, after trying a few different ways to get rid of the znuny path in the URL, I eventually gave up and (I thought) restored everything back to normal. So...
  • 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
So, the first round modifications were an attempt to adapt the old post/tutorial which still references otrs, and older formation of the apache file:
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>
and
  • <Location /znuny/nph-genericinterface.pl> with <Location /helpdesk/nph-genericinterface.pl>
(also modifying ScriptAlias to be "helpdesk/")

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:

https://<REDACTED HOST>/znuny/customer.pl?RequestedURL=RequestedURL%3D
So, from this, I can assume that a previous attempt is what actually broke the customer portal, and my attempt to change the path from znuny to helpdesk might very well have succeeded if I hadn't somehow broken the customer portal.

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.

Statistics: Posted by kristiandg — 23 Oct 2024, 00:20 — Replies 0 — Views 150



Viewing all articles
Browse latest Browse all 320

Trending Articles