Re: htaccess question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 4/24/2011 5:48 PM, Al wrote:
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

Whoops. I meant to say I want to restrict access to all files in a directory [/includes] except allow access to makeScodeImg.php from one in the parent dir/control.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux