Re: [Phphtmllib-devel] nother file
Status: Beta
Brought to you by:
hemna
From: Walter A. B. I. <wab...@3g...> - 2004-03-08 18:31:52
|
Ok this sounds good. Go ahead and check it into SECURITY. Should probab= ly update the README and INSTALL files to discuss this file. I liked your example. It's nice to see another viewpoint on using phpl. = I'm so used to using it that it's second nature to me now, so I'm not that great= at writing new examples. Walt > Hey Walt, >=20 > So I put together a sample .htaccess file that people could put in in=20 > the phphtmllib directory to tighten things up a bit in a production=20 > environment. I was thinking this file could be named HTACCESS or=20 > SECURITY and put in the root folder of phphtmllib. Here is the=20 > contents: >=20 > ########################## > # > # $Id$ > # > # DESCRIPTION > # These are the apache directives to "lock down" phphtmllib after=20 > installation in > # the web root on your production machine. This doesn't *have* to=20 > happen-- no > # critical information will be displayed if it is not done. > # > # USAGE > # 1. rename this file to .htaccess (for this to work AllowOverride=20 > All needs to be set some- > # where in httpd.conf) You can also place these directives in the=20 > appropriate directory > # block in your httpd.conf file if you have access. > # 2. Delete these directories: test, doc, examples. They are not=20 > needed in production. > # > # >=20 > <files *.inc> > Deny from All > </files> >=20 > <files ~ "(CHANGELOG|INSTALL|LICENSE|TODO)"> > Deny from All > </files> > ########################## >=20 > Does this sound ok? >=20 > Also, I put together a phphtmllib page on my usually neglected wiki: >=20 > http://mudhut.org/index.php/PhpHtmlLib >=20 > and wrote a short example-- it is really simple but sometimes new=20 > people like to have things spelled out for them :) >=20 > culley >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dc= lick > _______________________________________________ > Phphtmllib-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phphtmllib-devel >=20 |