If you’re using rewrite rules and other special configuration directives on your website, like any Zend Framework site does, you might want to consider the following: Avoiding .htaccess and ‘AllowOverride [not none]‘ on large websites.
Posts Tagged ‘apache’
Summer Project: Status Update
I’ve managed to get my little test server all configured for each path. This little task involved configuring mod_ruby, mod_perl, mod_python on top of my already standard php. I also had to fire up mod_proxy to mask the jsp directory (which is really going to an apache tomcat server – another box on my network). [...]
Summer Project Details
As part of my previous post, “things to do this summer,” I’ve decided on a not so clever appraoch to proving to myself that “it’s just a language.” What do I mean by, “it’s just a language?” Well, let me tell you. On a regular basis I get asked “do you now [language]?” And my [...]
Zend Framework, Rewrite Rules, Apache
Most of the Zend Framework documentation I’ve read recommends a rewrite rule that looks something like this: RewriteEngine on RewriteRule !\.(swf|js|ico|gif|jpg|png|css)$ index.php Why not use a more elegant rule that looks like this: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php This rule basically says: If it’s not an existing file, and it’s not [...]

