.htaccess issues

António P. P. Almeida appa at perusio.net
Fri Feb 10 18:07:54 UTC 2012

On 10 Fev 2012 17h57 WET, guilherme.e at gmail.com wrote:

> Antonio,
> I'm using apache as a back-end, and I need to keep .htaccess files
> in apache, because this is a shared web hosting server and it's
> hosting ~ thousand websites.
> The problem is that nginx is serving content allowed just for some
> IPs, for everyone, after this content is cached.

Using the suggested config will fix that. It's backend agnostic. It
supports Apache or whatever upstream you're passing to.

Post your full config if you want a more specific suggestion.

--- appa

More information about the nginx mailing list