470,849 Members | 1,273 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

Hiding some files from client access with Apache httpd

I want to hide files ending with ".tpl" and ".conf"
from client access (but I still want server access to them).
How can I do it?

With Apache httpd, I can use "Files" directive to
match those files and deny the client access.
What if I can't modify httpd.conf and I can use .htaccess?

How about IIS?

Jul 17 '05 #1
1 2563
Put the same directive in your .htaccess as you did in httpd.conf
You need to have the required permission to use File inside .htaccess

OFF TOPIC SUBJECT, APACHE RELATED

Savut
http://www.savut.com

"charlie" <ha****@yahoo.com> wrote in message
news:cb**********@gargoyle.oit.duke.edu...
I want to hide files ending with ".tpl" and ".conf"
from client access (but I still want server access to them).
How can I do it?

With Apache httpd, I can use "Files" directive to
match those files and deny the client access.
What if I can't modify httpd.conf and I can use .htaccess?

How about IIS?



Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Rita Harp | last post: by
1 post views Thread by Titus Cheung | last post: by
21 posts views Thread by R. Rajesh Jeba Anbiah | last post: by
6 posts views Thread by R. Rajesh Jeba Anbiah | last post: by
7 posts views Thread by Phong Ho | last post: by
12 posts views Thread by Berislav Lopac | last post: by
19 posts views Thread by Alex Madon | last post: by
24 posts views Thread by Gary Hasler | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.