NYCPHP Meetup

NYPHP.org

[nycphp-talk] htaccess question - deafult behavior in one folder

Ajai Khattri ajai at bitblit.net
Wed May 6 17:53:07 EDT 2009


On Wed, 6 May 2009, Corey H Maass - gelform.com wrote:

> I have a site that uses the Zend framework. I want to run a blog at
> /blog. I tried installing wordpress in an actual folder at /blog but my
> htaccess is set to have anything that doesn't point to an actual file
> redirect to index.php for zend. wordpress relies on blog/ directing to
> blog/index.php. Here's what I've got:
> 
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule .* index.php
> 
> So I need a rule that says, 'anything in /blog, just do what you
> normally do' but I'm not sure how to go about that. I've dug thru
> htaccess tutorials but I'm not finding anything.

IIRC, you can use RewriteEngine Off to cancel rewrite rules in a parent 
.htaccess file.


-- 
Aj.




More information about the talk mailing list