Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [regatta] Could use help protecting Admin

Quote Reply
Re: [regatta] Could use help protecting Admin In reply to
Hi regatta,

I tried adding
order deny, allow
allow from my-ip
deny from all
to the .htaccess and I got an internal server error and the following error in the error log:
links/admin/.htaccess: order takes one argument, 'allow,deny', 'deny,allow', or 'mutual-failure'

I'm definitely a novice so I'm sure I did something wrong. This is what's in the .htaccess to begin with:
AuthUserFile /dir/domain.com/cgi-bin/links/admin/.htpasswd
AuthGroupFile /dev/null
AuthType Basic
AuthName Protected
require valid-user

I'm assuming it will not allow the deny/allow after that. I would do it the other way with the httpd.conf file but there are a few conf files I'm finding and I'd rather wait until we get someone with more experience to edit one of these.

Any help would be most appreciated.

Nadine

Edited to add:
Nevermind the above - this worked thanks to Dan.
Order Deny,Allow
Deny from all
Allow from XX.XX.XX.XX



Thanks again everyone!

Nadine

Last edited by:

Westiegirl: Dec 17, 2005, 10:53 AM
Subject Author Views Date
Thread Could use help protecting Admin Westiegirl 12640 Dec 16, 2005, 9:02 PM
Thread Re: [Westiegirl] Could use help protecting Admin
VishalT 12470 Dec 16, 2005, 9:42 PM
Thread Re: [SWDevil.Com] Could use help protecting Admin
Westiegirl 12410 Dec 16, 2005, 10:23 PM
Thread Re: [Westiegirl] Could use help protecting Admin
regatta 12408 Dec 17, 2005, 1:51 AM
Post Re: [regatta] Could use help protecting Admin
VishalT 12343 Dec 17, 2005, 7:57 AM
Thread Re: [regatta] Could use help protecting Admin
Westiegirl 12383 Dec 17, 2005, 8:59 AM
Thread Re: [Westiegirl] Could use help protecting Admin
regatta 12349 Dec 17, 2005, 9:53 AM
Post Re: [regatta] Could use help protecting Admin
Westiegirl 12329 Dec 17, 2005, 10:13 AM
Thread Re: [regatta] Could use help protecting Admin
Westiegirl 12351 Dec 17, 2005, 6:52 PM
Thread Re: [Westiegirl] Could use help protecting Admin
webmaster33 12275 Dec 19, 2005, 4:44 AM
Thread Re: [webmaster33] Could use help protecting Admin
Andy 12327 Dec 19, 2005, 4:52 AM
Thread Re: [Andy] Could use help protecting Admin
webmaster33 12270 Dec 19, 2005, 5:10 AM
Post Re: [webmaster33] Could use help protecting Admin
Westiegirl 12255 Dec 19, 2005, 9:13 AM
Thread Re: [regatta] Could use help protecting Admin
Westiegirl 12361 Dec 17, 2005, 10:39 AM
Thread Re: [Westiegirl] Could use help protecting Admin
tandat 12350 Dec 17, 2005, 11:10 AM
Post Re: [tandat] Could use help protecting Admin
Westiegirl 12360 Dec 17, 2005, 11:24 AM
Post Re: [Westiegirl] Could use help protecting Admin
Clint 12374 Dec 17, 2005, 2:24 AM