try changing $kernel = new AppKernel('prod', false);
to $kernel = new AppKernel('prod', true); in app.php On Jun 3, 2011, at 1:25 PM, Haulyn Jason wrote: > Hi, > > I deployed my symfony 2.0 application to the server, it's simple CRUD > application. > > On my dev machine, no matter visit to /app_dev.php/ or /app.php, > everything works well. > On my production machine, I can visit to /app_dev.php/, everything > works well, but when I visit /app.php or /app.php/, I got 404 page. > Nothing useful information in log(both apache log and symfony log) > > In symfony log it said no router for get '/', but the result of > app/console router:debug is the following: > _wdt ANY /_wdt/{token} > _profiler_search ANY /_profiler/search > _profiler_purge ANY /_profiler/purge > _profiler_import ANY /_profiler/import > _profiler_export ANY /_profiler/export/{token}.txt > _profiler_search_results ANY /_profiler/{token}/search/results > _profiler ANY /_profiler/{token} > _configurator_home ANY /_configurator/ > _configurator_step ANY /_configurator/step/{index} > _configurator_final ANY /_configurator/final > homepage ANY / > sales_dashboard ANY /sales/ > sales_shippingbills_new ANY /sales/shippingbills/new > sales_shippingbills_insert ANY /sales/shippingbills/save > sales_shippingbills_history ANY /sales/shippingbills/history > sales_shippingbills_operate ANY /sales/shippingbills/operate > sales_shippingbills_ship ANY /sales/shippingbills/ship > sales_shippingbills_delete ANY /sales/shippingbills/delete > account_login ANY /account/login > account_security_check ANY /account/login_check > account_logout ANY /account/logout > > I am sure I didn't put the homepage '/' to routing_dev, I am really > put them to routing.yml > > I can not find the problem, any suggestions? > > Regards, > > Haulyn Jason > Founder, http://domix.in > Rm. 807, Qilu Software Tower, Qilu Software Park > 1 Shunhua Rd., High-Tech Development Zone > Jinan, Shandong 250101, P. R. China > Tel: +86 158 5410 3759 > Website: http://haulynjason.net > > -- > 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 -- 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