Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2000 14:54:29 -0500
From:      "Matthew B. Henniges" <matt@axl.net>
To:        "Paulo Fragoso" <paulo@nlink.com.br>, <freebsd-isp@freebsd.org>
Subject:   RE: PHP security
Message-ID:  <NDBBJIOBFAJNKGAGLICJAEBGEMAA.matt@axl.net>
In-Reply-To: <Pine.BSF.4.10.10001271730230.97640-100000@mirage.nlink.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
those go in /usr/local/etc/php3.ini, not the apache config

Matthew B. Henniges
Axl.net Communications
http://www.axl.net
(203) 552-1714

> -----Original Message-----
> From: owner-freebsd-isp@FreeBSD.ORG
> [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Paulo Fragoso
> Sent: Thursday, January 27, 2000 2:31 PM
> To: freebsd-isp@freebsd.org
> Subject: PHP security
> 
> 
> Hi,
> 
> I would like to limit access to php scripts, I'm trying to set into
> httpd.conf:
> 
> php3_safe_mode on
> php3_doc_root /some_dir/data/htdocs/php
> 
> but it don't work.
> 
> When I access a simple php3 script in /some_dir/data/htdocs my web server
> run that script fine.
> 
> Is possible using "php3_safe" and "php3_doc_root" restrict php3 scripts
> under /some_dir/data/htdocs/php? Or is there other way to make this?
> 
> I'm using: Apache/1.3.11 (Unix) mod_ssl/2.5.0 OpenSSL/0.9.4 PHP/3.0.14
> with FreeBSD 3.4.
> 
> Thanks,
> Paulo.
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBJIOBFAJNKGAGLICJAEBGEMAA.matt>