RE: [PHP] Linux and permissions

From: Date: Mon, 06 May 2002 23:48:51 +0000
Subject: RE: [PHP] Linux and permissions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96332@lists.php.net to get a copy of this message
> My PHP scripts are in a directory, "php". The owner of the > directory is "root" > and the group is "apache". Other has no rights. > > Group has rx rights. All works well *except* the surfer can view > the directory > of the php directory *and* copy the files. It means that DirectoryIndexing is enabled in apache =) you can either disable that (recommended) or as a quick fix put a blank index.htm (or .html file) in that directory so when someone calls up just the directory they get that blank page. Sincerely, Craig Vincent

« previous php.general (#96332) next »