Thanks for the quick reply. I have tried adding the code you mentioned in a
bunch of different ways and it doesn't seem to help. The behavior continues
to be the same on both servers.
Thanks though,
Eric
altaf.samnani wrote:
>
> try this, make chang in .htaccess file
> RewriteEngine on
> RewriteBase /~altaf/myzend
> RewriteRule .* index.php
> #php_flag magic_quotes_gpc off
> #php_flag register_globas off
>
> and in index.php make change
>
> Zend_Loader::loadClass('Zend_Controller_Request_Http');$request=new
> Zend_Controller_Request_Http();
> $baseUrl = $request->getBaseUrl();
> $frontController->setBaseUrl( $baseUrl );
>
> hope it will work ol d best
>
> but can anybody tell me tht how can i retrieve automatically
> RewriteBase /~altaf/myzend (dats d url) in .htaccess plz plz help me
> thanx in advance
>
--
View this message in context:
http://www.nabble.com/rewrite-and-Bad-Request-400-without-trailing-slash-tf4207255s16154.html#a11986435
Sent from the Zend Framework mailing list archive at Nabble.com.