-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make default page configurable, allow to disable public.pl and customer.pl #1279
Comments
Alternatively the default page could be set differently in otobo.psgi and in index.html. I'm not sure what the best approach is. Here are example files that also changes /otobo/index.pl to /index.pl and so on |
The newly implemented features are that the default page are configurable and that the public interface can be deactivated. Let's collect information about the current state and see whether anything needs to be changed. The new settings are
|
and use it in otobo.psgi. Previously otobo/index.pl was hardcoded.
and use it in otobo.psgi for determining whether public.pl is active Redirect to the default page if not.
The changes seem to work, but it would be good to have a review whether the current behavior is sane enough for a release, |
After a short discussion we agreed on the following changes:
An example for a selection is:
|
After more thinking, the selection of the default page can be between index.pl, customer.pl and public.pl. The redirect can be relative to otobo/ or to whatever otobo/ has been aliased to. |
Also:
|
This allows the SysConfig setting for the default page to take effect.
Rename the option from Frontend::NotFoundRedirectPath as now only interfaces can be selected. Consider special case https:://example.com/otobo (no trailing slash). Add tests where the DefaultInterface is changed.
Now that there is support for the non-slash case.
Do not redirect to an inactive interface
The current state of affairs is merged. The enhancement of installer.pl has been moved to #1633 as there might more settings that should be included. |
This was not the case in "my" index.html after an OTRS migration. Behaviour: I checked index.html and it said:
Removing the "/index.pl" led to the correct expected redirections. As also the Copyright of Rother OSS GmbH was missing at the bottom (only had the OTRS part), I think it could be related to the migration process. |
Hi @nm583 , I'm not sure whether the migration should generally change the "/otrs/index.html" to "/otobo". I'll file it as an separate issue. |
Hi @nm583, |
As of OTOBO 10.0.12 the default page of OTOBO is the agent interface. This is currently implemented in bin/cgi-bin/otobo.psgi. This feature can be overridden in a custom Nginx configuration. See https://otobo.de/en/forums/topic/default-page/ and https://doc.otobo.org/manual/installation/stable/en/content/installation-docker.html#custom-configuration-of-the-nginx-webproxy .
It would be nice if there were a more convenient way to do this.
The text was updated successfully, but these errors were encountered: