Route Chaining with the Zend Framework
I'm trying to implement route chaining for an admin panel on a Zend Framework site that I am working on.  I'm using the following configuration file in hopes that the "admin" route routes with "/admin" and that the "adminLogin" route routes with "/admin/login".

    <?xml version="1.0" encoding="UTF-8"?>
    <routes>
    	<admin>
    		<route>admin</route>
    		<defaults>
    			<module>admin</module>
    			<controller>index</controller>
    			<action>index</action>
    		</defaults>
    		<chains>
    			<adminLogin>
    				<route>login</route>
    				<defaults>
    					<module>admin</module>
    					<controller>login</controller>
    					<action>index</action>
    				</defaults>
    			</adminLogin>
    		</chains>
    	</admin>
    </routes>
With that configuration though, only "adminLogin" works.  The route "admin" routes to the default module/controller/action.

I think that I must be missing something with how chaining works.
Any feedback greatly appreciated
Route Chaining with the Zend Framework
===

I'm trying to implement route chaining for an admin panel on a Zend Framework site that I am working on.  I'm using the following configuration file in hopes that the "admin" route routes with "/admin" and that the "adminLogin" route routes with "/admin/login".

    <?xml version="1.0" encoding="UTF-8"?>
    <routes>
    	<admin>
    		<route>admin</route>
    		<defaults>
    			<module>admin</module>
    			<controller>index</controller>
    			<action>index</action>
    		</defaults>
    		<chains>
    			<adminLogin>
    				<route>login</route>
    				<defaults>
    					<module>admin</module>
    					<controller>login</controller>
    					<action>index</action>
    				</defaults>
    			</adminLogin>
    		</chains>
    	</admin>
    </routes>
With that configuration though, only "adminLogin" works.  The route "admin" routes to the default module/controller/action.

I think that I must be missing something with how chaining works.
Any feedback greatly appreciated