Forum Topic: Local vs Remote htaccess issue

Forum: .htaccess Forum : General • Posted by Chuck Johnson • Post Date:

My htaccess file is acting differently on the live vs local. It seems to recognize the file on both, but the remote/live host does not seem to respond to any allow from type directives (and others), while it does allow custom errors.

I have a VPS with Plesk11 and full access, where the AllowOverride seems to be set to none – but since there are multiple vhosts configure files etc, the config gets muddy and I can’t easily change to per domain config. Question is: what could cause part of an htaccess file to work (non-module parts), and not all of it?

1 Reply to “Local vs Remote htaccess issue”

Posted by Jeff Starr

Excellent question. If Apache is running but .htaccess doesn?t seem to be working (or only partially working), the most common reason is that the AllowOverride directive is set to ?None? in the main configuration file. If it is disabled, you can enable it by changing its value to ?All? or by specifying specific directives based on your needs.

I would also ask your host for further insight into what might be happening..