当前位置: 动力学知识库 > 问答 > 编程问答 >

url - Strange error with routing in symfony 2

问题描述:

Hello I have very strange problem.

My script generate a inndexs page in specify folder for ex.

aa.pl/x/z/index.php?id=1

aa.pl/x/y/index.php?id=1

and that index have code :

<?php

ob_start();

$nr = $_GET['nr'];

header() ( witch different localization )

?>

and now is this strange problem one of that ( aa.pl/x/z/index.php ) is working and aa.pl/x/y/index.php get 404 code.

None of them is present in the routing!

In my log file I got error "No route found for "GET x/y/index.php".

Could you tell my why?

How can I turn off check url with aa.pl/x ?

分享给朋友:
您可能感兴趣的文章:
随机阅读: