PHP code works but not when the htaccess file is enabled

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
legend986
Forum Contributor
Posts: 258
Joined: Sun Jul 15, 2007 2:45 pm

PHP code works but not when the htaccess file is enabled

Post by legend986 »

I was trying to get the Zend framework to work but when I put this in the .htaccess file, it doesn't seem to work for some reason. Can someone please help me correct this?

Code: Select all

 
RewriteEngine on
 
RewriteLog "/home/mk37/public_html/zend/zend/rewrite.log"
RewriteRule !\.(js|ico|gif|jpg|png|css|php)$ /index.php
 
php_value include_path ".;/home/mk37/public_html/zend/zend/library"
Post Reply