Hola, soy bastante nuevo en Linux (ElementaryOS) y, en resumen, estoy trabajando en Laravel (8) y tengo un problema con mis rutas, mientras que nunca tuve este problema en Windows. Creo que es un problema de configuración de Laravel o de mi Apache pero no hay manera de entenderlo claramente. Te tranquilizo, pregunto después de haber buscado bien pero encuentro las respuestas muy abstractas y ninguna me ayuda.
Si entiendo bien puede ser que mi servidor apache no tenga habilitados los enlaces simbólicos, pero no veo como habilitarlos en el archivo de configuración: "apache2.conf" tengo una mención de "FollowSymLinks" pero a pesar de mi investigación nada funciona .
Este es el pasaje en cuestión:
# 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>Así que modifiqué algunas partes pero nada ayudó.
¿Tienes alguna respuesta? Gracias.