Thread: Zend Framework
View Single Post
Old 03-20-2009, 11:47 PM   #13 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

It looks like the one in the quick start guide.

Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /index.php [NC,L]
The rewrite works great though. I can access controllers and their respectivly functions by changing the url to localhost/controllername/functionname and it works great.

It's just the part with the viewfiles that does get processed by PHP(or something - I don't know, I'm just guessing that, since the PHP tags and code gets put on the page like a HTML comment - again, see the screenshots).

Ah, we'll figure it out, hehe
__________________
Tanax is offline  
Reply With Quote