From: Matthew P. <mp...@he...> - 2004-05-14 04:54:41
|
On Fri, May 14, 2004 at 03:53:45PM +1200, Jim Cheetham wrote: > I don't feel very confortable about allowing that file to be returned by > the web server, so I moved mine outside the DocumentRoot for my site, > and amended the wiki index.php :- > > #IniConfig(dirname(__FILE__)."/config/config.ini"); > IniConfig("/var/www/docs/<site>/wiki-config.ini"); I'd recommend placing it in /etc/phpwiki, along with the apache config snippet and any other relevant files. That's a nice default, BTW. Alternatively, you could .htaccess the config directory out of reach of web browsers. - Matt -- "Alas, slideware often reduces the analytical quality of presentations. In particular, the popular PowerPoint templates (ready-made designs) usually weaken verbal and spatial reasoning, and almost always corrupt statistical analysis." -- http://www.edwardtufte.com/tufte/books_pp |