Page Functions off of Index require index/functionName?

General discussion for the Zend Server CE

Page Functions off of Index require index/functionName?

Postby zendparadox on Wed Aug 01, 2012 5:28 pm

Our main project is named AAA and we have a default IndexController.php than contains typical actions. Going to the main index page merely requires navigating to:

AAA/

Fine and dandy. But if we want to go to an action named BBB, we *cannot* simply navigate to:

AAA/BBB

...we're then hit with the error message: "An Error Ocurred...page not found"

However, if instead we *explicitly* state "Index" in the URL, like this:

AAA/Index/BBB

...then the BBB action (BBB.phtml) is performed.

This did *not* happen when we used the ZF in conjunction with XAMPP. In that environment, "Index" was assumed by the server and navigating to:

AAA/BBB

...would take us to the BBB action (phtml).

Why is Zend Server requiring the "Index" controller name to be specified? Is there a way (a setting somewhere?) that we can avoid this requirement?

~~Tom
zendparadox
 
Posts: 2
Joined: Wed Aug 01, 2012 5:19 pm

Return to Zend Server Community Edition

Who is online

Users browsing this forum: No registered users and 1 guest