|
|
Please consider registering: registration is fast, easy and free! Benefits of registration:
- Free advertising for your website: Every post in our forums goes towards a "credit" of ads, which are displayed on most pages of our forums. Each post gives you 400 ad impressions. To submit your ad, edit your profile.
- Discount at TemplateMonster: All our members enjoy a 20% discount at TemplateMonster.com!
|
- Private Messages: Exchange private messages with other members of the forums.
- Message Tracking/Subscription: phpBB enables you to subscribe to threads which interest you, and will then email you when a reply is posted. phpBB also remembers which posts registered users have read during a session, which means you can keep track of which posts you have already looked at.
|
|
| Author |
Message |
sleepuser
Junior WebHelper

Joined: 26 Jul 2010
Posts: 1
|
Posted:
Mon Jul 26, 2010 12:00 pm (1 month, 1 week ago) |
  |
Please can you tell me how the Protecting Individual files part of the tutorial http://www.4webhelp.net/tutorials/misc/htaccess.php works.
i.e.
Protecting individual files
You may wish to protect a single file in a directory. To do this, set up the .htaccess file like this:
AuthName "Realm Name"
AuthType Basic
AuthUserFile /.htpasswd
Allow From All
<Files file.xxx>
Deny From All
</Files>
This would password protect file.xxx only.
Why doesn't this need a Require directive?
Why isn't there an Order directive (is it because order deny,allow is implicit as it is default? or is there another reason?)
Thanks |
|
|
    |
 |
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.055307 seconds :: 14 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |