By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,216 Members | 1,032 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,216 IT Pros & Developers. It's quick & easy.

Hiding some files from client access with Apache httpd

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.