Symfony projects - 403 Forbidden
-
First of all, a really big thank you for building this. It saved me a lot of headaches when I had to shift to W10.
I'm using Full + Nginx.
Whenever I import, or even use the Quick create option, Symfony projects always display a 403 Forbidden error.
I'm guessing permissions problems, but can't figure out how to solve it.Any help is apreciated. Thanks!
-
@CØRE : New version of Symfony use
app.php
orapp_dev.php
for index (usually it's index.php)
You can sort it out by:- Open the Virtual Host: Menu > Nginx > sites-enabled > auto.xxx.dev.conf
- Update the index line:
index index.html index.htm index.php app_dev.php;
- Reload Nginx.
That's all. Enjoy
-
@leokhoa That works! Thanks for the help.
However, new projects are not displaying the toolbar and displaying the following error.
Obviously this only applies toapp_dev.php
-
@CØRE : Ah, as there is no index.php, you must change that line
try_files $uri $uri/ /index.php$is_args$args;
to
try_files $uri $uri/ /app_dev.php$is_args$args;
then Reload Nginx.
-
@leokhoa Outstanding! Thanks for the great support!
As a request, I'd like to see this configuration automatically applied to all Quick create projects if possibly in the future. I'll be keeping an eye on the updates changelog.