hi mathieu, On Fri, Jul 10, 2009 at 09:47:36AM +0200, Mathieu Malaterre wrote: > However while trying to make it lintian clean I am getting this error: > > dir-or-file-in-var-www > > Reading the PHP policy: > > http://webapps-common.alioth.debian.org/draft-php/html/ch-php-libs.html > > It is clear that I should move all *.php within the prefered root: > /usr/share/php5/CDash this path is for php libraries, not applications. more specifically, for libraries which are intended to be generally useful and available to the rest of the system (think of it like /usr/include) if the code in question is for an application, then you should keep it in its own location. I suggest something like /usr/share/CDash/<subdir> (where <subdir> can be any kind of descriptive subdirectory name, like "site" or "app" or similar). The purpose of having a subdirectory is it gives you the option of having other subdirectories which are not web-accessible, in case you need to store copies of scripts, or a private library which should only be used via "include" statements. You can then use a simple apache Alias directive to point the webserver at the right location (and then at the same time you can use a <Directory> block to add any other application specific directives). in case you haven't found it yet, this document might also be a bit helpful: http://webapps-common.alioth.debian.org/draft/html/ sean --
Attachment:
signature.asc
Description: Digital signature