Hello, I am quite new to Linux (ElementaryOS), and in short I am working on Laravel(8) and I have a problem with my routes, while I never had this problem on Windows. I think it's a problem of configuration of Laravel or of my Apache but no way to understand clearly. I reassure you, I ask after having searched well but I find the answers very abstract and none of them help me.
If I understand correctly it could be that my apache server does not have symlinks enabled, but I do not see how to enable them in the configuration file: "apache2.conf" I have a mention of "FollowSymLinks" but despite my research nothing works.
Here is the passage in question:
# Sets the default security model of the Apache2 HTTPD server. It does
# not allow access to the root filesystem outside of /usr/share and /var/www.
# The former is used by web applications packaged in Debian,
# the latter may be used for local directories served by the web server. If
# your system is serving content from a sub-directory in /srv you must allow
# access here, or in any related virtual host.
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
#<Directory /srv/>
# Options Indexes FollowSymLinks
# AllowOverride None
# Require all granted
#</Directory>
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
#
AccessFileName .htaccess
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
Require all denied
</FilesMatch>
So I modified a few parts but nothing helped.
Do you have any answers? Thank you.