I created a symfony project in my local PC with xampp and I created a git repository.It start correctly so i tryed to move it to my VPS. I clone my repository in my VPS but i see that now I can see all file and folder to my public project. I have left read and other permission to app and src and other file but i think is not normal that i can see all file .. if I share(open port) my xampp local it don't happen. There is some configuration or other that I need to do when I clone my symfony project??
My configuration /etc/apache2/apache.conf
<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>
In /etc/apache2/sites-avaiables/rasp.conf I follow the symfony guide
DocumentRoot /var/www/html/conticasa/web
<Directory /var/www/html/conticasa/web>
# enable the .htaccess rewrites
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/log/apache2/project_error.log
CustomLog /var/log/apache2/project_access.log combined
I enabled rasp.conf file and disabled the default file. Unfortunately is happened . I see always all my folder
i try to