nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.77k stars 4k forks source link

Please make pretty URLs to the default #16764

Closed szaimen closed 3 years ago

szaimen commented 5 years ago

Is your feature request related to a problem? Please describe. I think pretty URLS should be the standard for nextcloud, because it is nicer and prettier and also more userfriendly: you do not have to see index.php, which could be confusing for non-technical users when it is part of the URL.

Describe the solution you'd like Please make pretty URLs to the default configuration.

Describe alternatives you've considered An option to opt-out via config.php sounds great.

Additional context Especially for Nextcloud Snap it is important to have it as default.

kesselb commented 5 years ago

Would you mind to edit your post and add the feature request template? If the technical requirements are met (e.g. mod_rewrite for apache2) we could enable pretty urls during the setup with the option to opt-out via config.php.

szaimen commented 5 years ago

Thank you for your response. I added the feature request template to the issue description. And BTW: An option to opt-out via config.php sounds great! (I added your idea to the section "Describe alternatives you've considered")

kesselb commented 5 years ago

Especially for Nextcloud Snap it is important to have it as default.

Would you mind to explain why it's important especially for snap to enable it by default? I guess the maintainer of nextcloud snap could decide to enable it by default if they want (but i might be wrong).

kesselb commented 5 years ago

https://github.com/nextcloud/nextcloud-snap/issues/412 pretty urls are not enabled for nextcloud-snap because it's not enabled by default and .htaccess is not writeable.

szaimen commented 5 years ago

Yes I know, but if it was the default, then the only missing part would be making .htacces writeable. And there have been first tests enabling that.

sndrr commented 3 years ago

You can host nextcloud on Nginx too, and then .htaccess only will not work. Rewriting is possible, but will need a different setup.

@szaimen did you take this into account?

szaimen commented 3 years ago

Seems like this is not feasible.