Skip to content
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

Roundcube does not work on specific path, only on root #8

Open
sakalis opened this issue Oct 1, 2024 · 0 comments
Open

Roundcube does not work on specific path, only on root #8

sakalis opened this issue Oct 1, 2024 · 0 comments

Comments

@sakalis
Copy link

sakalis commented Oct 1, 2024

I am trying to setup the docker image so Roundcube will be in a certain path http://mydomain/roundcube. I have set the envrironmental variable MAILTRAP_ROUNDCUBE_CONFIG_REQUEST_PATH. I see the configuration file of roundcube has changed

<?php

declare(strict_types=1);

// Looking for the default values set? See: https://github.com/roundcube/roundcubemail/blob/master/config/defaults.inc.php
$config = [
    'product_name'            => 'MailTrap Roundcube',
    'db_dsnw'                 => 'sqlite:////var/lib/roundcube/db/sqlite.db',
    'des_key'                 => 'effe119845ac53cfd00be883e3bcba9543bc53223bcc447ce0a75c421e2e17d7',
    'plugins'                 => [
        'archive',
        'zipdownload',
        'contextmenu',
        'keyboard-shortcuts',
        'message-highlight',
        'enigma',
        'emoticons',
    ],
    'session_lifetime'        => 1440,
    'message_show_email'      => true,
    'protect_default_folders' => true,
    'request_path'            => '/roundcube',
    'skin'                    => 'elastic',
]

Even while worinkg on the container http://localhost/roundcube gives a 404. Instead http://localhost works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant