RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php

-Matt

----- Original Message ----- From: "Troy L. Marker" <[EMAIL PROTECTED]>
To: <fw-general@lists.zend.com>
Sent: Monday, December 04, 2006 6:55 PM
Subject: [fw-general] Wierd Routing


Greetins,
I have spend the better part of a week trying to my site working online. I
finially hit the jackpot tonight, only to find another problem.

The problem is for some reason, I am getting 404 pages for most of the
routes. Let me explain.

http://tronpro.com/ works fine.

http://tronpro.com/index works fine.

http://tronpro.com/services does not work. I get a 404 page.

I am gettin a 404 page for any route that does not relate to index.

I am not sure if this has to do with my Rewrite rules in the .htaccess file.
The rules are:

RewriteCond %{SCRIPT_FILENAME} ^/home/content/t/l/m/tlmarker/html/index.php$
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

(I just tried removing the RewriteCond line and got the same result.)

I am thinking If it is routing to the index controller, then my rewrite
rules should be correct. But I am not sure.

If someone can help me with this, I would greatly apreciate it.

Regard,
Troy L. Marker.


Reply via email to