apache - .htaccess deny from all doesn't work -


my problem want deny access folder can't. i've put .htaccess file in folder these lines:

order deny,allow deny 

any idea of can happening?

i it! due apache configuration. in foo.conf of sites-avaiables directory had:

allowoverride none 

as apache doc says, allowoverride description: types of directives allowed in .htaccess files

when changed to:

allowoverride 

it works perfectly! can configure specific options:

allowoverride directive-type 

directive-options at: apache.org


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -