Many thanks it is more clear to me now! :-)

Pádraic Brady-2 wrote:
> 
> The Zend Framework uses url rewriting to transpose a URL into a
> controller, action and possibly module name.
> 
> So the ending .php is not required. Your index URL is just the base, or
> alternatively:
> 
> http://localhost/mysite/index
> 
> In the above "index" is interpreted as a request for the IndexController.
> To access a specific method, say IndexController::searchAction():
> 
> http://localhost/mysite/index/search
> 
> You should note that all requests will pass through index.php anyway - so
> it doesn't require an explicit URL.
> 
> Have fun :)
> 
> Paddy
>  
> Pádraic Brady
> http://blog.astrumfutura.com
> http://www.patternsforphp.com
> 
> 
> ----- Original Message ----
> From: debussy007 <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Friday, September 14, 2007 7:21:15 AM
> Subject: [fw-general] URL issue
> 
> 
> Hello,
> 
> Im trying out Zend Framework with Rob Allen's tutorial, but I have a weird
> error :
> 
> Accessing my site like this : 
> 
> http://localhost/mysite   works,
> 
> but accessing it like this :
> 
> http://localhost/mysite/index.php   it crashes, wih the following
> exception
> :
> 
> Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception'
> with
> message 'Invalid controller specified (index.php)' in
> D:\websites\mysite\library\Zend\Controller\Dispatcher\Standard.php:193
> Stack
> trace: #0 D:\websites\mysite\library\Zend\Controller\Front.php(911):
> Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
> Object(Zend_Controller_Response_Http)) #1
> D:\websites\mysite\index.php(26):
> Zend_Controller_Front->dispatch() #2 {main} thrown in
> D:\websites\mysite\library\Zend\Controller\Dispatcher\Standard.php on line
> 193
> 
> Anyone has any idea how that happen ?
> 
> Thank you for any help !!
> -- 
> View this message in context:
> http://www.nabble.com/URL-issue-tf4440432s16154.html#a12669289
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 
> 
> 
> 
> 
> 
> 
> 
>      
> ____________________________________________________________________________________
> Tonight's top picks. What will you watch tonight? Preview the hottest
> shows on Yahoo! TV.
> http://tv.yahoo.com/ 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/URL-issue-tf4440432s16154.html#a12689097
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to