From owner-freebsd-questions Thu Jun 18 03:00:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA29174 for freebsd-questions-outgoing; Thu, 18 Jun 1998 03:00:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA29050 for ; Thu, 18 Jun 1998 03:00:03 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.163]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Thu, 18 Jun 1998 11:59:08 +0200 Received: (from malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) id LAA00887; Thu, 18 Jun 1998 11:55:20 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <01BD9A1F.EA268AA0.fschan@capgemini.com.sg> Date: Thu, 18 Jun 1998 11:55:20 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: (Chan, Fook Sheng) Subject: RE: questions on Apache user authentication Cc: "freebsd-questions@FreeBSD.ORG" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 17-Jun-98 Chan, Fook Sheng wrote: > Hi Malte, > > I'm using Apache 1.3, and I compile it from the source so that I can > customise the modules, I'm not sure whether I can select what modules I > want when installing the Apache port of FreeBSD, if so pls do let me know. Sure you can. Have a look into /usr/share/mk/bsd.port.mk and some other Makefiles in /usr/ports Change the toplevel-makefile and enter a make-target at the right place to take care of your changing in the sources ( maybe "configure:" ) While reading the threat again ... >>> I try "dbmmanage /usr/local/etc/httpd/users adduser martin hamster" and >>> get "./:Permission denied" Try "chmod 550 /dbmmanage" Then "/dbmmanage /usr/local/etc/httpd/users adduser ..." Malte. > > BTW, I solved the htpasswd problem already, > > I try gcc -o htpasswd htpasswd.c -lcrypt, thank you so much. > > Best Regards, > > Fook Sheng > > -----Original Message----- > From: Malte Lance [SMTP:malte@webmore.com] > Sent: Wednesday, June 17, 1998 6:23 PM > To: (Chan, Fook Sheng) > Cc: freebsd-questions@FreeBSD.ORG > Subject: RE: questions on Apache user authentication > > Are you trying apache in the ports-collection ? > > Malte. > > On 17-Jun-98 Chan, Fook Sheng wrote: >> Hi Malte, >> >> Thanks so much for responding, I still have some questions, hope you will >> help me. >> >> Best Regards, >> >> Fook Sheng >> >> >> On 17-Jun-98 Chan, Fook Sheng wrote: >>> I try "dbmmanage /usr/local/etc/httpd/users adduser martin hamster" and >>> get "./:Permission denied" >> >> >> Check the permissions in /usr/local/etc/httpd/users >> Are you root when doing this ? >> [Chan, Fook Sheng] Yes, I'm root when doing this. I have tried in other >> directories as well, the file "user" is non existent, it should be > created >> by running dbmmanage according to some documents from apacheweek.com, >> correct me if I'm wrong. >> > I try "make htpasswd" in 1.2.6 source, and get >>> "/var/tmp/ccCR18211.o:Undefined symbol '_crypt' referenced fro text >>> segment >> >> Add "-lcrypt" to the link command. >> [Chan, Fook Sheng] I try adding "-lcrypt" to the Makefile.tmpl so that > it >> becomes "blah blah .... >> $ $ htpasswd.c -o -lcrypt htpasswd $(LIBS) >> Malte. >> >>> >>> Regards, >>> >>> chan >>> To Unsubscribe: send mail to majordomo@FreeBSD.org >>> with "unsubscribe freebsd-questions" in the body of the message >> >> ---------------------------------- >> E-Mail: Malte Lance >> Date: 17-Jun-98 >> Time: 10:14:25 >> ---------------------------------- >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message > > ---------------------------------- > E-Mail: Malte Lance > Date: 17-Jun-98 > Time: 12:22:25 > ---------------------------------- > ---------------------------------- E-Mail: Malte Lance Date: 18-Jun-98 Time: 11:00:47 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message