Bug#270418: apache: Apache initscript ignores system locale

2004-09-07 Thread Ian Eure
Package: apache
Version: 1.3.31-5
Severity: important
Tags: l10n

From /etc/init.d/apache:

-- snip --
ENV=env -i LANG=C PATH=/bin:/usr/bin:/usr/local/bin
...
APACHECTL=$ENV $APACHECTL
-- snip --

This renders PHP unable to display UTF-8 text with gettext; all
non-ASCII
characters are changed to question marks.

LANG should be set from locales/default_environment_locale in debconf.



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages apache depends on:
ii  apache-common   1.3.31-5 Support files for all Apache 
webse
ii  debconf 1.4.30.2 Debian configuration management 
sy
ii  dpkg1.10.23  Package maintenance system for 
Deb
ii  libc6   2.3.2.ds1-13 GNU C Library: Shared libraries 
an
ii  libdb4.24.2.52-17Berkeley v4.2 Database Libraries 
[
ii  libexpat1   1.95.6-8 XML parsing C library - runtime 
li
ii  libmagic1   4.09-1   File type determination library 
us
ii  logrotate   3.7-2Log rotation utility
ii  mime-support3.28-1   MIME files 'mime.types'  
'mailcap
ii  perl5.8.4-2  Larry Wall's Practical Extraction 

-- debconf information:
* apache/enable-suexec: false
  apache/server-name: localhost
  apache/document-root: /var/www
  apache/server-port: 80
  apache/init: true
  apache/server-admin: [EMAIL PROTECTED]




Re: Bug#270418: apache: Apache initscript ignores system locale

2004-09-07 Thread Fabio Massimo Di Nitto
severity 270418 wishlist
tag 270418 wontfix
stop

On Tue, 7 Sep 2004, Ian Eure wrote:

 Package: apache
 Version: 1.3.31-5
 Severity: important
 Tags: l10n

 From /etc/init.d/apache:

 -- snip --
 ENV=env -i LANG=C PATH=/bin:/usr/bin:/usr/local/bin
 ...
 APACHECTL=$ENV $APACHECTL
 -- snip --

 This renders PHP unable to display UTF-8 text with gettext; all
 non-ASCII
 characters are changed to question marks.

 LANG should be set from locales/default_environment_locale in debconf.

Setting LANG to anything != C breaks at least another 200 things, like
user configurations.

Fabio

-- 
user fajita: step one
fajita Whatever the problem, step one is always to look in the error log.
user fajita: step two
fajita When in danger or in doubt, step two is to scream and shout.




Processed: Re: Bug#270418: apache: Apache initscript ignores system locale

2004-09-07 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 severity 270418 wishlist
Bug#270418: apache: Apache initscript ignores system locale
Severity set to `wishlist'.

 tag 270418 wontfix
Bug#270418: apache: Apache initscript ignores system locale
Tags were: l10n
Tags added: wontfix

 stop
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)




Bug#270459: Apache-ssl inetd

2004-09-07 Thread LANTek
Package: apache-ssl
Version: Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux Oct 26 2002 12:34:18

Can not launch apache-ssl from inetd.

some configuration  output information:
# grep ServerType /etc/apache-ssl/httpd.conf
ServerType inetd
=
# grep apache-ssl /etc/inetd.conf
https stream tcp nowait root /usr/sbin/tcpd /usr/sbin/apache-ssl
=
after connection:
# tail -1 /var/log/syslog
Aug 27 10:23:15 ng apache-ssl[15303]: connect from 192.168.19.121
=
# ps xfa
15477 ? S 0:00 /usr/lib/apache-ssl/gcache 33 /var/run/gcache_port
=

At Internet Explorer:
 Can not load page
=

But if ServerType standalone it's all right

how to launch apache-ssl from inetd?

Thanks!


LANTek





Re: Bug#270459: Apache-ssl inetd

2004-09-07 Thread Fabio Massimo Di Nitto
severity 270459 minor
tag 270459 woody
stop

On Tue, 7 Sep 2004, LANTek wrote:

 But if ServerType standalone it's all right

 how to launch apache-ssl from inetd?

apache and inetd are usually a very very bad combination. It is highly
unsuggested. Also there are much more recent versions of apache that might
fix this problem in sarge/sid.

Fabio

-- 
user fajita: step one
fajita Whatever the problem, step one is always to look in the error log.
user fajita: step two
fajita When in danger or in doubt, step two is to scream and shout.




Bug#270418: apache: Apache initscript ignores system locale

2004-09-07 Thread Adam Conrad
Ian Eure wrote:
 
 This renders PHP unable to display UTF-8 text with gettext; all
non-ASCII
 characters are changed to question marks.

Even if you export the right LANG in PHP with putenv()?

... Adam





Bug#270524: apache2-common: apache2 dies cannot allocate shared memory

2004-09-07 Thread solo turn
Subject: apache2-common: apache2 dies cannot allocate shared memory
Package: apache2-common
Version: 2.0.50-12
Severity: important

after a power failure the server comes up normally, but apache2 fails starting 
with:

error.log:
[Tue Sep 07 20:14:36 2004] [info] Init: Initializing OpenSSL library
[Tue Sep 07 20:14:36 2004] [info] Init: Seeding PRNG with 512 bytes of entropy
[Tue Sep 07 20:14:36 2004] [info] Init: Generating temporary RSA private keys 
(512/1024 bits)
[Tue Sep 07 20:14:36 2004] [info] Init: Generating temporary DH parameters 
(512/1024 bits)
[Tue Sep 07 20:14:36 2004] [error] Cannot allocate shared memory: (17)File 
exists

# ls -l /var/log/apache2/ssl_scache
-rw-r--r--  1 root root 4 2004-09-06 07:29 /var/log/apache2/ssl_scache

removing this file helps, but somehow there should be a setting, which allows 
apache2 to come up
by itself.

is this the same thing as in:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=78019
http://rhn.redhat.com/errata/RHSA-2003-240.html
?

-- System Information:
Debian Release: 3.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7-smp
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages apache2-common depends on:
ii  libssl0.9.7  0.9.7d-5SSL shared libraries
ii  openssl  0.9.7d-5Secure Socket Layer (SSL) binary a




___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush




Bug#270418: apache: Apache initscript ignores system locale

2004-09-07 Thread Ian Eure
On Tuesday 07 September 2004 07:06 am, Adam Conrad wrote:
 Ian Eure wrote:
  This renders PHP unable to display UTF-8 text with gettext; all

 non-ASCII

  characters are changed to question marks.

 Even if you export the right LANG in PHP with putenv()?

Yes.




Bug#270418: apache: Apache initscript ignores system locale

2004-09-07 Thread Ian Eure
On Tuesday 07 September 2004 03:03 am, Fabio Massimo Di Nitto wrote:
 severity 270418 wishlist
 tag 270418 wontfix
 stop

 On Tue, 7 Sep 2004, Ian Eure wrote:
  Package: apache
  Version: 1.3.31-5
  Severity: important
  Tags: l10n
 
  From /etc/init.d/apache:
 
  -- snip --
  ENV=env -i LANG=C PATH=/bin:/usr/bin:/usr/local/bin
  ...
  APACHECTL=$ENV $APACHECTL
  -- snip --
 
  This renders PHP unable to display UTF-8 text with gettext; all
  non-ASCII
  characters are changed to question marks.
 
  LANG should be set from locales/default_environment_locale in debconf.

 Setting LANG to anything != C breaks at least another 200 things, like
 user configurations.

Is there some definitive resource which documents these effects? I'd like to 
know what I run the risk of breaking by forcing Apache to use my locale.




Bug#270551: apache2-common: [manual pages] a2enmod, a2dismod should have EXAMPLES, FILES

2004-09-07 Thread Jari Aalto

Package: apache2-common
Version: 2.0.50-12
Severity: normal


Please add following sections to the a2enmod and a2dismod manual pages:

FILES
/etc/apache2/mods-available/*  Installed modules
/etc/apache2/mods-enabled/*Symbolic links

EXAMPLES
add here at least one example hos to use the program


The examples section would  clarify if the [module] name should be
written as mod_rewrite or mod_rewrite.c


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-386
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to en_US)

Versions of packages apache2-common depends on:
ii  debconf 1.4.30.2 Debian configuration management sy
ii  debianutils 2.8.4Miscellaneous utilities specific t
ii  libapr0 2.0.50-12The Apache Portable Runtime
ii  libc6   2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libdb4.24.2.52-17Berkeley v4.2 Database Libraries [
ii  libexpat1   1.95.6-8 XML parsing C library - runtime li
ii  libldap22.1.30-3 OpenLDAP libraries
ii  libmagic1   4.09-1   File type determination library us
ii  libssl0.9.7 0.9.7d-4 SSL shared libraries
ii  links [www-browser] 0.99-1.2 Character mode WWW browser
ii  lynx [www-browser]  2.8.5-1  Text-mode WWW Browser
ii  mime-support3.28-1   MIME files 'mime.types'  'mailcap
ii  mozilla-firefox [www-browse 0.8-12   lightweight web browser based on M
ii  net-tools   1.60-10  The NET-3 networking toolkit
ii  openssl 0.9.7d-4 Secure Socket Layer (SSL) binary a
ii  ssl-cert1.0-8Simple debconf wrapper for openssl
ii  zlib1g  1:1.2.1.1-5  compression library - runtime

-- no debconf information