[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dir-or-file-in-var-www



On Fri, Jul 10, 2009 at 09:47:36AM +0200, Mathieu Malaterre wrote:
> Hi there,
> 
>   I am preparing a debian package for cdash (http://cdash.org), draft
> implementation is available at:
> 
> http://gdcm.svn.sf.net/viewvc/gdcm/Sandbox/debian-med/cdash/debian/
> 
>   It worked out ok, by following the standard installation procedure:
> 
> http://public.kitware.com/Wiki/CDash:Installation
> 
>   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
Do not put it into /usr/share/php5/CDash. /usr/share/cdash would
be much more appropriate. Though, this software is written in php5
it's not part of it.

>   I thought I would just need to add the following file (*) and be all
> set, but it seems that I am still missing something. What should I do
> so that http://localhost/CDash points to /usr/share/php5/CDash ? A
> good package reference would be appreciated.
> 
> Thanks,
> -- 
> Mathieu
> 
> (*)
> $ cat /etc/apache2/conf.d/cdash.conf
Your are missing an alias like

Alias /cdash /usr/share/cdash

You should name it 'cdash' instead of 'CDash'

> <Directory /usr/share/php5/CDash/ >
>    Order allow,deny
>    Allow from all
> </Directory>

Hope that helps.

  Uwe
-- 
  MMK GmbH, Fleyer Str. 196, 58097 Hagen
  Uwe.Steinmann@mmk-hagen.de
  Tel: 02331 840446    Fax: 02331 843920

Attachment: signature.asc
Description: Digital signature


Reply to: