Matthew resolved this issue yesturday, my bad. I've tested it and it is
functioning properly. Thanks,
Jim
alesl wrote:
>
> Hi.
>
> When testing a Zend Framework application at Dreamhost hosting, I
> discovered a problem with the routing system in my particular
> configuration.
> At home everything works perfectly (tested on windows and linux -
> apache_mod), but routing does not work correctly in environmet with
> Apache, suexec and mod_rewrite (Dreamhost).
>
> This is my .htaccess
> RewriteEngine on
>
> RewriteBase /
>
> RewriteCond %{SCRIPT_FILENAME} !-f
> RewriteCond %{SCRIPT_FILENAME} !-d
> RewriteRule ^(.*)$ index.php/$1 [L]
>
> RewriteCond %{REQUEST_FILENAME} -f
> RewriteRule ^(.*\.)(js|css)$ index.php [L,NC]
>
> The second conditon rewrites js and css files to index.php where front
> controller takes action with defined route:
> routes.jscss.type =
> "Zend_Controller_Router_Route_Regex"
> routes.jscss.route = "(.+)\.(css|js)"
> routes.jscss.defaults.module = "jscss"
> routes.jscss.defaults.controller = "index"
> routes.jscss.defaults.action = "index"
> routes.jscss.map.1 = "file"
> routes.jscss.map.2 = "type"
>
> Ass i said on local machines js, css files are minimized and send back to
> browser. On Dreamhost nothing hapens -> routing is ignored ?!?!
>
> Any sugestions??
>
> Regards, AlesL
>
--
View this message in context:
http://www.nabble.com/Routing-does-not-work-correctly-tf3960104s16154.html#a11308968
Sent from the Zend Framework mailing list archive at Nabble.com.