Page 1 of 1
.htaccess help
Posted: Sun Dec 05, 2004 5:21 pm
by ben_b
Just wondering if there's anyway to do an "Allow from" then get the ip from a file? Like Allow from <?php echo fopen("
http://other.bswf.net/ip-*.txt", "r"); ?> although that doesn't work. Any ideas?
Posted: Sun Dec 05, 2004 6:47 pm
by kettle_drum
Well you wont be able to with the php syntax as it wont be parsed by PHP. I know that you can use:
To add virtual hosts and what not, so you could try that.
Posted: Mon Dec 06, 2004 8:18 am
by ben_b
Unforchunently it says include isn't allowed in the .htaccess file and it doesn't work.

Any other ideas?