Thread: Zend Framework
View Single Post
Old 03-20-2009, 11:55 PM   #14 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

Quote:
Originally Posted by Tanax View Post
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
Take a look at your apache config and see where it looks for .htaccess.

See, in linux, it's called .htaccess. But with Windows you might have to call it htaccess.txt and then tell your config to look for that instead of the default .htaccess.

Also check your log files and see what the error_log says....
allworknoplay is offline  
Reply With Quote