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

BASE_URL receive additional backslash that makes the client get 404 by default on installation #1575

Open
EagleDelux opened this issue Jul 26, 2024 · 2 comments

Comments

@EagleDelux
Copy link

I have the same issue as #1537. I am using WAMP server. When I visit http://localhost/index.php I get redirected to http://localhost\/index.php/installation

$request_uri = dirname($_SERVER['SCRIPT_NAME']);

If I remove $request_uri I get the correct url. $request_uri is what adds the back slash
$config['base_url'] = trim($protocol . $domain . $request_uri, '/');

@alextselegidis
Copy link
Owner

Hello!

Thanks for providing the information.

I will take a closer look into this.

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

@alextselegidis
Copy link
Owner

Update: I just tried the same with the official docker image that users php-apache at its core and could not reproduce the problem. I suspect this has to do with how some servers are configured to parse the path info.

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

@alextselegidis alextselegidis changed the title adding back slash to base url BASE_URL receive additional backslash that makes the client get 404 by default on installation Aug 7, 2024
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

2 participants