Besides that im gonna avail this section to ask one more thing:
i continued to lecture 4.10 and after changed the apache2 settings and add the rewrite rules the same way as zaid did on the video, im not being able to restart apache2 and im getting this error: “Job for apache2.service failed because the control process exited with error code. See “systemctl status apache2.service” and “journalctl -xe” for details”. when i run systemctl for details i get this:
“Jun 15 07:04:19 kali systemd[1]: Starting The Apache HTTP Server…
Jun 15 07:04:20 kali apachectl[4609]: AH00526: Syntax error on line 31 of /etc/apache2/sites-enabled/000-default.conf:
Jun 15 07:04:20 kali apachectl[4609]: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the s>
Jun 15 07:04:20 kali apachectl[4606]: Action ‘start’ failed.
Jun 15 07:04:20 kali apachectl[4606]: The Apache error log may have more information.
Jun 15 07:04:20 kali systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 15 07:04:20 kali systemd[1]: apache2.service: Failed with result ‘exit-code’.”
I already checked the apache2 settings and everything is equal to shown on the lectures.