>
> Hello all
>
> How can I disable index on the URL bar. Instead of having
> http://localhost/index/events/1234 I want to do
> http://localhost/events/1234
>
> Shall I do it in .htacess file?
>
>
Hi, actually no. Yo are intended to do it by setting proper Routes.
You can read more on the topic of routing in the reference guide:
http://zendframework.com/manual/en/zend.controller.router.html
If 'index' is the name of your default controller (or is it module?) and
'events' is your action
you should be able to do it without any configuration. Anyways you need to
to read more on setting up controllers/actions and setting up routes.
It's also more productive to start a new topic if you have any questions
specific to your case :)
Good luck,
Dmitry.
--
View this message in context: http://www.nabble.com/Base-URL---where-is-it-used--tp24372371p24373061.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论