Comments on: How to Rewrite URLs with mod_rewrite for Apache on Ubuntu 20.04 https://www.rosehosting.com/blog/how-to-rewrite-urls-with-mod_rewrite-for-apache-on-ubuntu-20-04/ Premium Linux Tutorials Since 2001 Fri, 03 Jun 2022 08:31:40 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: admin https://www.rosehosting.com/blog/how-to-rewrite-urls-with-mod_rewrite-for-apache-on-ubuntu-20-04/#comment-48892 Thu, 12 May 2022 06:20:27 +0000 https://www.rosehosting.com/blog/?p=36343#comment-48892 In reply to Fahim Siddiq.

The Allowoverride all is to allow the .htaccess to override the Apache configuration.

]]>
By: Fahim Siddiq https://www.rosehosting.com/blog/how-to-rewrite-urls-with-mod_rewrite-for-apache-on-ubuntu-20-04/#comment-48891 Thu, 12 May 2022 05:58:50 +0000 https://www.rosehosting.com/blog/?p=36343#comment-48891 Hello,
I want to know something,
I migrated 3 websites from shared hosting to a VPS. My first website was giving me 404 error on all urls except home page, i executed a2enmode rewrite and my permalinks started to work, i did not change Allowoverride to All, its working perfectly.
But for other 2 websites, I have to change Allowoverride to All.
why is that so ?

]]>