I actually noticed a while back the BaseUrl setting isn't needed as often - at 
least my current development and production systems don't require it anymore. 
Hopefully there's a lot less need for it since it's a quirky thing to have to 
manually set for every application.

P.
 
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com


----- Original Message ----
From: Philippe Le Van <[EMAIL PROTECTED]>
To: Chris Hartjes <[EMAIL PROTECTED]>
Cc: Zend Framework General <[email protected]>
Sent: Monday, April 16, 2007 4:44:38 PM
Subject: Re: [fw-general] Getting ZF to work in a sub-directory

Chris Hartjes a écrit :
>
> # the others are redirected to the dispatcher
> RewriteRule ^(.*)$ index.php [QSA,L]
>
Hi Chris,

I believe it should be
RewriteRule ^(.*)$ /api/index.php [QSA,L]
(but I didn't look for the meaning of all your flags ! )

you will need too :

$controller->setBaseUrl('/api/');

best regards,
Philippe

-- 
Philippe Le Van
mail : [EMAIL PROTECTED]
web : http://www.kitpages.fr







__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to