htaccess question
| From: | Al | Date: | Sun, 24 Apr 2011 21:48:21 +0000 |
| Subject: | htaccess question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-312472@lists.php.net to get a copy of this message | ||
I want to restrict access to all files except one on my site and in parent dir. Thought this should work; but it doesn't.
<Files *>
Order Deny,Allow
Deny from all
Allow from xx.36.2.215
</Files>
xx.36.2.215 is actual value IP
This file makes a captcha image and is called with
<img src="makeScodeImg.php" alt="missing img file" /> in file /dir/control.php
makeScodeImg.php is=> /dir/includes/makeScodeImg.php
Works fine if "allow all" just for testing
Thanks