mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
email: Redirect to the app page if roundcube isn't installed
If Roundcube is not yet installed and the user clicks on 'Launch web client', redirect to the installation page instead of Apache's Not Found page. Signed-off-by: nbenedek <contact@nbenedek.me> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
a179dd302e
commit
b49afbc4ff
@ -28,3 +28,9 @@
|
||||
RewriteRule ^ /plinth/apps/email/config.xml [PT]
|
||||
</IfModule>
|
||||
</Location>
|
||||
|
||||
# If Roundcube is not yet installed and the user clicks on 'Launch web client',
|
||||
# redirect to the installation page instead of Apache's Not Found page.
|
||||
<Location "/roundcube/">
|
||||
ErrorDocument 404 /plinth/apps/roundcube/
|
||||
</Location>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user