From owner-freebsd-questions@FreeBSD.ORG  Tue Oct 31 17:27:34 2006
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
X-Original-To: freebsd-questions@freebsd.org
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 6928D16A504
	for <freebsd-questions@freebsd.org>;
	Tue, 31 Oct 2006 17:27:34 +0000 (UTC)
	(envelope-from jorn@wcborstel.com)
Received: from mail.wcborstel.com (wcborstel.xs4all.nl [82.93.93.17])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 07E6C43EA1
	for <freebsd-questions@freebsd.org>;
	Tue, 31 Oct 2006 17:21:37 +0000 (GMT)
	(envelope-from jorn@wcborstel.com)
Received: from localhost (mail.wcborstel.com [10.0.0.2])
	by mail.wcborstel.com (Postfix) with ESMTP id D5E1C284029;
	Tue, 31 Oct 2006 18:21:23 +0100 (CET)
Received: from mail.wcborstel.com ([10.0.0.2])
	by localhost (mail.wcborstel.com [10.0.0.2]) (amavisd-new, port 10024)
	with ESMTP id 51474-05; Tue, 31 Oct 2006 18:21:21 +0100 (CET)
Received: from [192.168.1.7] (host [192.168.1.7])
	by mail.wcborstel.com (Postfix) with ESMTP id 527BE284010;
	Tue, 31 Oct 2006 18:21:21 +0100 (CET)
Message-ID: <45478603.7030700@wcborstel.com>
Date: Tue, 31 Oct 2006 18:21:07 +0100
From: Jorn Argelo <jorn@wcborstel.com>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: Nick <ibaranick-forum01@yahoo.com>
References: <20061030171543.57865.qmail@web31806.mail.mud.yahoo.com>
In-Reply-To: <20061030171543.57865.qmail@web31806.mail.mud.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: amavisd-new at wcborstel.com
Cc: freebsd-questions@freebsd.org
Subject: Re: WordPress, Apache, modules, mod_rewrite - how to verify?
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Oct 2006 17:27:34 -0000

Nick wrote:
> Thanks!  Can anyone help me regarding mod_rewrite?  Can't find it in the ports.
>   
mod_rewrite comes with Apache if you build it from the ports tree AFAIK. 
Check out /usr/local/libexec/apache and see if you have a 
mod_rewrite.so. If you do, all you have to do is enable it in your 
httpd.conf.

Jorn

>
> ----- Original Message ----
> From: Eric <heli@mikestammer.com>
> To: freebsd-questions@freebsd.org
> Sent: Monday, October 30, 2006 10:12:28 AM
> Subject: Re: WordPress, Apache, modules, mod_rewrite - how to verify?
>
> Nick wrote:
>   
>> I've been looking on the web for hours but haven't found any help, though of asking on some forums when I suddenly remembered!  There's freebsd-questions!!  
>>
>> Anyway, I'm a MS SQL Server guy, trying to mess around with FreeBSD at home.  I've managed to install 6.1, CVSup, xorg, KDE, Apache 1.3.  I haven't touched this box for a while due to my work schedule, now I'm trying to pick up where I left off... I just install ed WordPress from ports, trying to use it to learn PHP and MySQL.  (At work, I'm almost 100% SQL Server only!  I'm hoping to change to a Linux / Oracle, Data Warehouse type of position.... but outside of work, I would like to learn some PHP, Perl and MySQL... may be start a little side web biz or something...)
>>
>> So, main question:
>>
>> WordPress requires PHP 4 and MySQL 3 or later, and optional mod_rewrite.  How do I verify if these are installed?
>>
>> I used "pkg_version -v" to check my installed ports' versions, I have these:
>> apache-1.3.37_1
>> mod_perl-1.29_1
>> mysql-client-5.1.11
>> perl-5.8.8
>> php5-5.1.4
>> php5-mysql-5.1.4
>> php5-pcre-5.1.4
>> php5-xml-5.1.4
>> wordpress-2.0.4_1,1
>>
>> I think I still need to install mod_php and mod_rewrite, but I can't see them in /usr/ports/www
>>
>> How do I verify that php, MySql and mod_rewrite are install and function properly in Apache?
>>
>> Thanks!
>>
>> Nick
>>     
>
> make a file called pinfo.php in your web servers data directory root 
> (/usr/local/www/data by default)
>
> put this in it:
>
> <?php
>
> phpinfo();
>
> ?>
>
> save it and go to:
>
> http://yourURL.com/pinfo.php
>
> and read away
>
> that will dump all php related info.
>
> make sure you install the suhosin patches against PHP and/or use the 
> extension
>
> Eric
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>