Re: "Files Directory must be outside of webservers document root" - but it is!
"Dirk H. Schulz" <[email protected]> Thu, 10 Apr 2008 15:23:17 +0200
| Newsgroups | gmane.comp.web.phpgroupware.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, thanks for your help. --On 9. April 2008 16:55:12 +1000 Dave Hall <[email protected]> wrote: - snip - > > How urgent is this? I will be in your timezone next week, with some > spare time in the evenings I hope. If you can give me access, I would > love the opportunity to debug it. In the mean time, there is a hack > around for it (not this is a potential security issue and not at all > supported by the project </disclaimer>) > > In the following files > setup/config.php line 38 > phpgwapi/inc/class.vfs_sql.inc.php line 86 > infolog/inc/class.vfs.inc.php line 156 > > change > <code> > function in_docroot($path) > { > $docroots = array(PHPGW_SERVER_ROOT,$_SERVER['DOCUMENT_ROOT']); > </code> Thank you, the mean time hack works. I cannot give you access to this particular instance since it is running inhouse for some time, but if you need phpgroupware on MacOS X in general in can setup an instance you can access freely for coding etc. This just needs to wait until I have setup an XServe with virtual hosting, this may still take some two or three weeks. Regards, Dirk > > to > > <code> function in_docrç¹£âã°à´à´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´à´äæ¤çæ¬âä â¸âåææ çæ°ç¨à´ä¤åâåç¤ççææ´çâåæççæ¤ææà´åæ¤æçææ¸çææâããâ°âã ããããâäçæææ¤æ¸æà´åææ°â¸âãâã ãâã¤ãâ¼ã ãâããâãã à´äæç â¸âãâã ãâã¤ãâ ¼ã ãâããâããà´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´â´à´åæææ æ¸æ¤æ¬âçæ¼æ´âäææ¤æ¸ççææ¸ââ´âçæ¸æâææçâæ¸ïçæ¤ææâåçæ¸æ¤æ¸æ