From owner-freebsd-questions@FreeBSD.ORG Wed Jul 2 14:02:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A23537B401 for ; Wed, 2 Jul 2003 14:02:51 -0700 (PDT) Received: from smtp08.wxs.nl (smtp08.wxs.nl [195.121.6.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 114DF43FB1 for ; Wed, 2 Jul 2003 14:02:50 -0700 (PDT) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186])18questions@freebsd.org; Wed, 02 Jul 2003 22:59:27 +0200 (MEST) Received: from Intranet.lan (akruijff@localhost [127.0.0.1]) h62L0J4r056728;akruijff@Intranet.lan) Received: (from akruijff@localhost) by Intranet.lan (8.12.8p1/8.12.8/Submit) id h62L0Js6056727; Wed, 02 Jul 2003 23:00:19 +0200 (CEST) Date: Wed, 02 Jul 2003 23:00:18 +0200 From: Alex de Kruijff In-reply-to: <20030702201929.79497.qmail@web12604.mail.yahoo.com> To: sanketh sangam Message-id: <20030702210018.GA55984@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: <20030702201929.79497.qmail@web12604.mail.yahoo.com> cc: questions@freebsd.org Subject: Re: Which server-side programming should i choose. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 21:02:51 -0000 On Wed, Jul 02, 2003 at 01:19:29PM -0700, sanketh sangam wrote: > I have a Apache webserver on FreeBSD machine. I think > mySQL is also installed(I do not know how to check if > mySQl is installed on that sytem). > I am planning to put a user authentication to access > my webpages in the server. For that i need to write > server-side programming. Since there are any > server-side softwares(PHP, ASP, JSP, Perl........) ,I > am confused as to which one would be better for Apache > and freeBSD. > Instead of going for those server-side programming, > should I go for HTTP authentication method. I am > confused. Any kind of help would be appreciated. > First of all HTTP authentication doesn't rule out server side programming. Your first choice is if you want to use server-side-pages or CGI programming. The server-side pages you can use are PHP or JSP (ASP is posible but not the natural choice for apache). If you choice for CGI then the more tradional programman languages come to order. Personly, i like the server side varient better. If this, is also the road for you then you are left with the choice betwain PHP en JSP, or may be a combination. I feel that JSP is better for the large design and PHP for the smaller pages. PHP is a bit easer to setup but JSP is more efficent and more power for the larger design. HTTP authentication is something you use to let you users login. Both JSP and PHP can do this. You have to be worned that there are two forms. The first is the easies to setup but it send the password as _plain text_ for *everybody* to read. There's an advances version that you can use in combination with SSL to make it more secure, but i forgot the name. Alex