In article <001301c1ded0$498373c0$d95527d9@phpdevdc001>, [EMAIL PROTECTED] says... > Hi All > > > > I want to make this htaccess file > > > > Allow to www.domain.com/admin > > Allow ip number1 > > Allow ip number2 > > Allow ip number3 > > Allow ip number4 > > Deny everyone else > > On error go to a 404 page of my own making. > > > > How do I do that? > > > > As always your help and pointers are most appreciated. > > > > P.S got the restrict by ip number sorted I think..
This is rather out of the scope of php_db, no? But you need something like Deny from all allow from [ip regex or list] ErrorDocument 404 /yourdoc.php Double check from the apache docs (as it really is ana pache question) -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php