[symfony-users] Nginx symfony url_for problem
Hi Guys, I am new to symfony. Anyway, I find it easy to follow the jobeet tutorial using Nginx (instead of Apache). However, I have a problem in the Day 3 jobeet actions. http://www.symfony-project.org/jobeet/1_4/Doctrine/en/03 All the links created in the index, edit, show becomes "job/job" and I got a 404 error if I follow the links when I typed the follows in browsers: http://localhost.localdomain/frontend_dev.php/job but not if the links changed to: http://localhost.localdomain/job I googled it and find it should be related to the AllowOveride All setting in Apache. However, how to set it up in Nginx? -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: Nginx symfony url_for problem
OGeee... My script works now! I've modifed a few things, don't know which one is the error command anyway: prev: location ~ \.php$ { ... } location ~ \.php($|/) { } now, only one .php: location ~ \.php($|/) { } prev, only: fastcgi_param SCRIPT_FILENAME /home/sfproject/web$script; now: fastcgi_param SCRIPT_FILENAME /home/sfproject/web$script; fastcgi_param SCRIPT_NAME $script; prev: include fastcgi_params; now: include /usr/nginx/conf/fastcgi_params; Thanks a bunch! On 2月17日, 上午1時05分, jean-phi wrote: > Hi, here is my working configurationnginx/ fastcgi : > > server { > listen 80; > server_name www..com; > > root /../web/; > index index.php; > > location / { > > if (-f $request_filename) { > expires max; > break; > } > > if ($request_filename !~ "\.(js|htc|ico|gif|jpg|png|css)$") { > rewrite ^(.*) /index.php last; > } > } > > location /sf/ { > root /usr/share/php/symfony/1.4/data/web; > expires max; > } > > location ~ \.php($|/) { > set $script $uri; > set $path_info ""; > > if ($uri ~ "^(.+\.php)(/.+)") { > set $script $1; > set $path_info $2; > } > > fastcgi_pass 127.0.0.1:9000; > > include /etc/nginx/fastcgi_params; > fastcgi_param > SCRIPT_FILENAME /.../web$script; > fastcgi_param PATH_INFO $path_info; > fastcgi_param SCRIPT_NAME $script; > fastcgi_intercept_errors on; > > } > > } > > On 16 fév, 16:50, Arthur Ccube wrote: > > > Hi Guys, > > > I am new to symfony. Anyway, I find it easy to follow the jobeet > > tutorial usingNginx(instead of Apache). > > > However, I have a problem in the Day 3 jobeet actions. > > >http://www.symfony-project.org/jobeet/1_4/Doctrine/en/03 > > > All the links created in the index, edit, show becomes "job/job" and I > > got a 404 error if I follow the links when I typed the follows in > > browsers:http://localhost.localdomain/frontend_dev.php/job > > > but not if the links changed to:http://localhost.localdomain/job > > > I googled it and find it should be related to the AllowOveride All > > setting in Apache. However, how to set it up inNginx? -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Admin Backend field value depends on another
Hi Guys, My Shop form have two fields - City and Area. Area depends on the City selected. How can I do it in my generator.yml for my Shop? Thanks! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] How to migrate and deploy
Hi Guys, I am new to symphony. My application has backend and frontend apps. I was used to RubyOnRails, there, I can deploy by using a list of migration files to update DB. In symfony, what i know is updating schema.yml. However, it does not keep version, that means my db has to be dropped each time I update the db? How can I migrate DBs for my deploys? (both rollback and migrate are useful for me). Thanks! Arthur -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] how to do pdf in symfony
how to generate pdf files from my html/pdf templates in symfony? It is better to have free/open source methods. Thanks! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Payment Gateway and Paypal
Hi Guys, I am working on a e Commerce website which has payments via Visa and Payment. What is the common way to do it in symfony? Thanks a lot! Arthur -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en