Question
How to enable mod_rewrite on LEMP Ubuntu
I have created a website in a droplet, and I have uploaded sendy files to a subdirectory.
After installing the sendy it gives 404 error.
In their documentation it says that i need to enable mod_rewrite. I have tried all answers here in digitalocean community nothing fixed for me.
Before reading further, please verify that the .htaccess file has been uploaded.
As part of the compatibility checklist, mod_rewrite needs to be enabled.
I tried to edit .htaccess file and tried to add try_files $uri $uri/ /index.php?$args; in server { but nothing worked.
Can anyone help me out with this problem?
Thanks.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×