-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
URL rewrite to lose index.php with Apache & fastcgi ? #5576
Comments
Use .htaccess for this. It will fail integrity check afterwards but, maybe they exclude it from check at some time (it's really annoying). |
Just set For more help ask in the forums: https://help.nextcloud.com/ |
@MorrisJobke Just to be on the safe side, I've edited the first post to include the contents of my config.php. My Nextcloud resides in the webroot of a subdomain BTW. |
Usually this is all that is needed:
The only thing that comes to my mind is: Is the I closed this ticket because this is working for a lot of instances and really looks like a setup/environment problem than a real bug. If the web host doesn't support the htaccess file, we can't do much. And the bug tracker here is for bugs. If you need help with the environment and setup then the forum is the better place. |
Steps to reproduce
Desired behaviour
URL does not contain index.php (=shorter URL)
Server configuration
Operating system: CENTOS
Web server: Apache
Database: mySQL
PHP version: 7
Nextcloud version: 12
I know it's possible to have NC rewrite URLs so they don't end in index.php. Makes the URL prettier but most importantly shorter.
I can fiddle with config.php all I want but it was my understanding that the restriction was beyond simple user control.
Is it possible to do that in a shared hosting environment (with Apache & fastcgi/mod_fastcgi) where users don't have permission to edit the server config? Or is it still restricted to Apache and mod_php?
If so, would you please consider expanding support to the Apache + fastcgi/mod_fastcgi combi (for restricted users with no root access)?
EDIT:
Contents of config.php:
Thank you.
The text was updated successfully, but these errors were encountered: