LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: nik [tm] <tmcruisin@sond.com.au>
  To  : James Dean <jfdean@ihug.com.au>
<linuxsa@linuxsa.org.au> Date: Wed, 15 May 2002 13:47:42 +0930

Re: Apache config

I think this bit;

> Require james tony jodie

should be like this;

<Limit GET>
require valid-user
</Limit>

my whole .htaccess file is like this;

[root@waterloo admin]# more .htaccess
AuthUserFile /usr/local/apache/cgi-bin/<passwd file name>
AuthName "give it a name"
AuthType Basic

<Limit GET>
require valid-user
</Limit>

and then make sure the passwd file is in the right place, with correct perms
and has the valid users in it.
I put that file in the cgi-bin so people cannot browse directly to it, but
you can put it pretty much anywhere from what I can tell

cheers
nik [tm]

·?¯`·.??..><((((º>.·?¯`·.??.·?¯`·.?
 ><((((º>`·.??.·?¯`·.?><((((º>`·.?

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page