.htaccess help
Moderator: General Moderators
.htaccess help
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?
Last edited by ben_b on Sun Dec 05, 2004 6:56 pm, edited 1 time in total.
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
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.
Code: Select all
Include file.txt