Apache .htaccess not working

Ken Schweigert yellowdog-general@lists.terrasoftsolutions.com
Fri Sep 5 07:51:01 2003


On Thu, Sep 04, 2003 at 04:45:39PM +0100, Rob Brandt wrote:
> A bit off topic, I know, but hopefully close enough.
> 
> I am trying to implement some mod_rewrite directives for a php web site I'm
> working on, and I can't get directives in the .htaccess file to be used.  They
> work fine when placed in httpd.conf, so I know that mod_rewrite itself is
> working OK.  I've not needed to use .htaccess before, so I think the problem is
> there.
> 
> I know there are directives handling this, and I've checked that I have:
> 
> AccessFileName .htaccess
> <Files ~ "^\.ht">
>    Satisfy All
> </Files>
> 
> in the config.  Not sure what else may be the problem.
> 
> Ideas?

Check your "AllowOverride" directive.

# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo", 
# "AuthConfig", and "Limit"

    AllowOverride All


-- 
Ken Schweigert, Network Administrator
Byte Productions, LLC
http://www.byte-productions.com