Hello,

It's really a gr8 forum for a developer like me who is learning Zend and
facing so many technical issues/problems. I have resolved many problems by
my own using the help available and by the help of some members on this
forum. Thanks to all.

The problem now I am facing is related with Router rewrite .. here is the
problem.

I am creating a multi-lingual site and I am using the following router
rewrite string in my BOOTSTRAP file.

:module/:lang/:controller/:action

Which results the URL as : admin/en/employee/add .. which is working fine
and I am able to open the add section and can add records. In the above URL
it is returning me the right names of module, controller & action if I use
requests's methods to print them i.e. getModuleName, getControllerName etc
..

Now the problem comes when i click on "edit entry" which is having a URl
like admin/en/employee/edit/id/2 .. this is not working fine and redirect to
Access denied page as i have implemented ACL. But I have provided "edit"
permission to the User = "ADMIN" and i am logged in with the same User. When
i print the Module & Controller name it is giving "en" as controller. I feel
that this is causing the problem. On further tracking i found that whenever
i use and parameter next to action .. add or edit it gives me the error.

Any suggestions ?

Thanks
Ashish Sharma


-- 
View this message in context: 
http://www.nabble.com/Problem-in-Router-Rewrite-tf4260472s16154.html#a12124134
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to