Problems with URL shortening (Symfony) -


i have problem, don't know if it's routing problem. adress symfony project:

http://192.168.10.10/index.php  

and works. when clicking on link module1

<a href="<?php echo url_for('module1/index'); ?>">module1</a> 

the browser shortens adress 192.168.10.10/module1 , gives not-found error. when add index.php manually (so adress 192.168.10.10/index.php/module1) works , right page shown. why? problem?

either set

no_script_name: false 

in app/frontend/config/settings.yml

or check if apache has mod_rewrite enabled (assuming you're using apache).


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -