开发者

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 to apply

Order Deny,Allow
Deny from all

for directory localhost/content/ with only one .htaccess in localhost/.htaccess, without httpd.conf ? <Directory> is not allowed in .htac开发者_开发问答cess


Can't you put the files outside the documentroot of the website?

Only solution I found was just redirecting when somebody tries to reach that directory.

Redirect permanent /content/ http://localhost

/Emil

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜