Re: tricky mod_rewrite

From: Godmar Back <godmar_at_nyob>
Date: Wed, 1 Jul 2009 10:23:55 -0400
To: CODE4LIB_at_LISTSERV.ND.EDU
On Wed, Jul 1, 2009 at 10:18 AM, Walker, David <dwalker_at_calstate.edu> 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
Received on Wed Jul 01 2009 - 10:24:03 EDT