|
|||
|
Hi I'm trying to learn ZF by following this screencast by Hashimoto:
Zend Framework He shows howto create a .htaccess file with this content. But what if I don't want to allow .htaccess files, since they slow down Apache servers a lot according to rumours that "they" say on the Internet. Code:
RewriteEngine on RewriteRule !\.(js|ico|gif|jpg|png|css|html)$ index.php /etc/apache2/apache2.conf Last edited by apprentice : 10-07-2008 at 07:56 PM. |
|
|||
|
Yes, you should be able to put the same thing into the VirtualHost container for the host hosting your app.
Or possibly in the global config if you're not using virtualhosts (I'm not sure on this, I always use virtualhosts) |
![]() |
| Thread Tools | |
| Display Modes | |
|
|