Apache: How to apply 'Order Deny,Allow Deny from all' for directory host/content/ with using only one .htaccess in host/.htaccess, without httpd.conf? -


how apply

order deny,allow deny 

for directory localhost/content/ 1 .htaccess in localhost/.htaccess, without httpd.conf ? <directory> not allowed in .htaccess

can't put files outside documentroot of website?

only solution found redirecting when tries reach directory.

redirect permanent /content/ http://localhost

/emil


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -