开发者

In my project sub folders are viewable. I need to make it forbidden. How shall i make it?

For example, if i give the below url in the address bar all images are viewable 开发者_高级运维right now.

URL : http:///www.test.com/images/

How shall i able to avoid this.. It should not be viewable or it should be restricted or redirected to some other page.

How can this be done?

Thanks in advance...


We can do it by using

Options -Indexes

which should be entered in .htaccess file and should be placed inside the corresponding folder.

And its working fine now...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜