-
Notifications
You must be signed in to change notification settings - Fork 0
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
Installation to subdirectory #8
Comments
Good question, probably currently the easiest way to change this is via the WebServer for now. |
Hey, sorry for late reply. I now installed it to root level and login comes up. After login I can even browse the several areas like
but if I click on "Edit" and the route goes e.g. to
I get a 404 error / blank page. I really don't know why happens since
Any idea what could be the issue here? Thanks a lot in advance! |
@johlton Hmm, I think that for this a Maybe it's better to wait until the Yii3 development is a bit further here... Related: yiisoft/demo#11 |
What steps will reproduce the problem?
I' trying to run this in a subdirectory
/ldap-commander/
on an Apache2 webserver. I assumed there is a settingbaseUrl
and found it inconfig/params.php
, but this apparently is mainly for loading assets. Not being an expert in Yii - especially not Yii3 - I found some older posts about setting this inconfig/main.php
but as I see it the whole configuration ecosystem changed dramatically since then.I tried to fix this via enabled rewrite module,
.htaccess
andRewriteBase /ldap-commander
, but with no luck.What is the expected result?
The login form for the app :)
What do you get instead?
I get a correctly styled 404 page with loaded assets saying "The page /ldap-commander/ not found." and navigation still pointing to
/users
,/groups
and so on.Additional info
Should I stop looking for a baseurl setting and instead try to fix it via server config? Any hint would be highly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: