8000 Problems rewriting urls with containers and reverse proxy · Issue #938 · formtools/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Problems rewriting urls with containers and reverse proxy #938
Open
@PaulOchons

Description

@PaulOchons

Hello,
I have installed formtools in containers (one for the application and a second one for the database). The containers are behind a reverse proxy.
The installation works fine, as does the creation of the admin account, but I have a problem when I try to log in.
The url of my application is https://mywebite.com/formtools/ but when I click on the login button I'm redirected to https://mywebsite.com/index.php and so it doesn't work.

In the config.php file I have:
$g_root_url = "https://mywebite.com/formtools";
$g_root_dir = "/var/www/html";

If I consult the source code of the login page I see this:
form name="login" action="/index.php" method="post"
Whereas it should be:
form name="login" action="/formtools/index.php" method="post"

Can you see where this problem might be coming from?
Is it more a problem with the proxy than with the formtools application?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0