-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Pretty URLs: its complicated #11673
Comments
GitMate.io thinks possibly related issues are #9182 (Just a question // Feature request // Pretty Share URL), #10471 (Improve URL detection), #7781 (htacces & pretty urls), and #6889 ([11.0.3 -> 12.0.3] Upgrade emptied .htaccess). |
Lines 475 to 505 in d96adc0
When |
yes, both instances have |
When you execute Could you execute |
Sorry, I was not specific enough. The Uberspace instance did not have |
You need to set the above when mod_env is not available (https://docs.nextcloud.com/server/13/admin_manual/configuration_server/config_sample_php_parameters.html). Looks like mod_env is not available for uberspace (https://wiki.uberspace.de/webserver:suexec#kompatibilitaet_mit_mod_env). Please keep in mind that github is for software issues and https://help.nextcloud.com/ for configuration issues. |
I know, but here people actually read and respond to stuff. My help post is stray for two weeks now |
I run two instances of Nextcloud 14.0.1. One is run inside Docker using nextcloud:latest image, the other one is run on Uberspace 6, installed with the web-installer.
Admittedly I did not pay much attention until recently for this issue, so I don't know if it has always been this way, but since upgrade to v14 both instances had
…/index.php/…
in their URLs. I did add a trailing slash tooverwrite.cli.url
, then the Docker instance had pretty URLs, the Uberspace one did not. Questions rose…Then I found that the Docker one has this part at the very bottom of
.htaccess
:which the Uberspace one does not. I copied this to the Uberspace
.htaccess
but it did not help.Now here comes the interesting part:
I ran
php occ maintenance:update:htaccess
on the Uberspace (non-Docker) instance, and this removed the stuff from.htaccess
. Then I manually removed it from.htaccess
on the Docker instance, ranphp occ maintenance:update:htaccess
and found all the stuff being back in the file. 0oSo, what is this
maintenance:update:htaccess
actually doing? And why is it doing different stuff on different instances? And why do pretty URLs work on one and not on the other instances?Sidenote: this is not the only incidence of different behavior of those two instances
The text was updated successfully, but these errors were encountered: