Here is the .htaccess I use for my local installation:

<IfModule mod_rewrite.c>
   # Display real files
   RewriteEngine On
   RewriteCond %{REQUEST_FILENAME} -s [or]
   RewriteCond %{REQUEST_FILENAME} -l
   RewriteRule .* - [nocase,last]

   # Pass to router
   RewriteRule .* /index.php [nocase,last]
</IfModule>

Hope that helps,

-Matt

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



Matt,
Thanks for the response. I changed the .htaccess file as your suggested. It,
however, did not help.

Would you happen to have another suggestion?

Regards,
Troy Marker
-----Original Message-----
From: Matthew Ratzloff [mailto:[EMAIL PROTECTED]
Sent: Monday, December 04, 2006 9:13 PM
To: Zend Framework
Subject: Re: [fw-general] Wierd Routing


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.




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.6/568 - Release Date: 12/4/2006



Reply via email to