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
Redirect during instalation. #25
Comments
Comment by @leofeyer You need to set up a document root pointing to the |
Comment by @aschempp This is a bug I can confirm, localhost is supposed to work with web folder. But for now you can just fix the URL manually by using localhost/web/app.php/contao/install |
Comment by @leofeyer
It is? |
Comment by @leofeyer You are right. 😄 |
Yes, I already pointed that out here: #18 (comment) ;) The original issue (#18) unfortunately wasn't fixed after all. The problem is, that an empty base URL is set here now: https://github.com/contao/installation-bundle/blob/1.1.2/src/HttpKernel/InstallationKernel.php#L121 $context = new RequestContext();
$context->fromRequest(Request::createFromGlobals());
$context->setBaseUrl(''); Since the base URL is empty, the router generates routes without In order to fix it, the base URL would need to be set manually with the current base web path of the |
If the |
Shouldn't the path be automatically handled by the Symfony router or url generator? |
I think you need to re-read the ticket. 😉 |
Fixed in 571ae0f. |
This is a problem again in |
Issue by @wad2eq
August 1st, 2016, 07:19 GMT
I'm trying install contao on localhost i put in adress bar localhost/contao/web/install.php i check box i agree with Contidion and i get redirection do localhost/contao/install and error 404
The text was updated successfully, but these errors were encountered: