Re: htaccess quick ?

From: Date: Mon, 08 Apr 2002 10:55:13 +0000
Subject: Re: htaccess quick ?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-18314@lists.php.net to get a copy of this message
In article <001301c1ded0$498373c0$d95527d9@phpdevdc001>, dave@davecarrera.com 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

« previous php.db (#18314) next »