Enabling mod_rewrite
Posted: Thu Apr 16, 2020 11:49 am
Hello guys,
Im trying to enable mod_rewrite in my web server, So im creating a simple dashboard for custom reporting for my user and im using MVC pattern for this. Please help.
so itried to edit the config file in default-server.conf in /etc/apache2
<Directory "/srv/www/htdocs">
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
# Controls who can get stuff from this server.
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
<IfModule mod_access_compat.c>
Order allow,deny
Allow from all
</IfModule>
and loaded the rewrite module in loadmodule.conf
after restarting, still not working.
Im trying to enable mod_rewrite in my web server, So im creating a simple dashboard for custom reporting for my user and im using MVC pattern for this. Please help.
so itried to edit the config file in default-server.conf in /etc/apache2
<Directory "/srv/www/htdocs">
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
# Controls who can get stuff from this server.
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
<IfModule mod_access_compat.c>
Order allow,deny
Allow from all
</IfModule>
and loaded the rewrite module in loadmodule.conf
after restarting, still not working.