Print

Print


On Wed, Jul 1, 2009 at 10:18 AM, Walker, David <[log in to unmask]> wrote:

> > Is it possible to write a .htaccess file that works
> > *no matter* where it is located
>
> I don't believe so.
>
> If the .htaccess file lives in a directory inside of the Apache root
> directory, then you _don't_ need to specify a RewriteBase.  It's really only
> necessary when .htacess lives in a virtual directory outside of the Apache
> root.
>

I see.

Unfortunately, that's the common deployment case by non-administrators (many
librarians). They can create .htaccess files, but don't always have control
of the main Apache httpd.conf or the root directory.

 - Godmar