Bug#572513: Package does not create /var/www/nginx-default

2010-03-05 Thread Kartik Mistry
On Thu, Mar 4, 2010 at 9:34 PM, Dennis Hoppe dennis.ho...@credativ.de wrote:
 at the config file /etc/nginx/sites-enabled/default the directory
 /var/www/nginx-default is defined as root directory, but the package
 did not create this directory including the files 50x.html and
 index.html.

 Furthermore, i think you should enable the redirect for the error pages by
 default.

Thanks for using nginx and Debian :)

Well, putting anyting in /var/www/ is not suitable according to Debian Policy.

See:
http://lintian.debian.org/tags/dir-or-file-in-var-www.html
http://www.pathname.com/fhs/pub/fhs-2.3.html#THEVARHIERARCHY

for details.

For users, we can put README.Debian or similar documents.

-- 
 Cheers,
 Kartik Mistry | 0xD1028C8D | IRC: kart_
 Debian GNU/Linux Developer | Identica: @kartikm
 Blogs: {ftbfs, kartikm}.wordpress.com



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#572513: Package does not create /var/www/nginx-default

2010-03-05 Thread Dennis Hoppe

Hello Kartik,

Kartik Mistry schrieb:

Thanks for using nginx and Debian :)

Well, putting anyting in /var/www/ is not suitable according to Debian Policy.


thanks for the info. I thought this must work the same way like 
apache2, but there are the default files comming from 
/usr/share/apache2/default-site or /usr/share/apache2/error.



See:
http://lintian.debian.org/tags/dir-or-file-in-var-www.html
http://www.pathname.com/fhs/pub/fhs-2.3.html#THEVARHIERARCHY

for details.

For users, we can put README.Debian or similar documents.


Regards, Dennis



signature.asc
Description: OpenPGP digital signature


Bug#572513: Package does not create /var/www/nginx-default

2010-03-04 Thread Dennis Hoppe

Package: nginx
Version: 0.7.65-1
Severity: normal

Hello,

at the config file /etc/nginx/sites-enabled/default the directory
/var/www/nginx-default is defined as root directory, but the package
did not create this directory including the files 50x.html and
index.html.

Furthermore, i think you should enable the redirect for the error pages by
default.

Regards, Dennis

- -- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nginx depends on:
ii  libc6  2.7-18lenny2  GNU C Library: Shared libraries
ii  libpcre3   7.6-2.1   Perl 5 Compatible Regular 
Expressi

ii  libssl0.9.80.9.8g-15+lenny6  SSL shared libraries
ii  lsb-base   3.2-20Linux Standard Base 3.2 
init scrip

ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

nginx recommends no packages.

nginx suggests no packages.

- -- no debconf information



signature.asc
Description: OpenPGP digital signature