Running a project in dev server run perfectly but I try to move on a live server, I got "The requested URL /icons/create was not found on this server."
i got that just in 1 route in : …/icon/create
but any route works fine.
I try to composer dump-autoload
in local but don’t get any error"
or something problem in my htaccess file?
mod_rewrite already enable in the apache web server.
Very thank you, if someone wants to help me 🙂
2
Answers
as u r saying u have "mod_rewrite already enable"
try this editing
/etc/apache2/sites-enabled/000-default
or/etc/apache2/apache2.conf
Change the
AllowOverride None
toAllowOverride All
Comment Alias in
/etc/apache2/mods-available/alias.conf
.After Comment these lines check apache conf using this command:
Then reload apache2: