Apache2 mod_include and php segfault issue

2012-04-30 Thread Simon Waters
Hi,

I hit a problem with Apache2 on Squeeze which I had to abandon and work
around, however it is of a character that makes me unhappy just to leave
it, and I don't have a reproducible case I can share yet to file a bug
report.

I had a PHP website that included a file include/textblock.php which
you could access http://example.com/include/textblock?name=test; and it
queried a database and spat out a piece of text from a database with
some HTML formatting.

I decided to try and include this using SSI into another page of the
same website (specifically /test.php ).

So I did a Options +Multiview +Include and
 AddOutputFilter INCLUDES .php on virtual host.

Added a line;

!--#include virtual=include/textblock.php?name=test --

At this point the retrieval of the page fell over at the end of the
first PHP loop after the SSI include of PHP code.

Inspection of where it fell down suggested it was something to do with a
style statement with background-color in it, but I couldn't get
consistent sensible behaviour.

Not sure that this configuration is suppose to work but it seemed worth
trying, since it would save rewriting the include as a PHP function or
similar.

The SSI documentation implies QUERY_STRING may not be what I expect.

I could have working page, and no include, or segfault and half a page
returned by toggling mod_include with a2enmod.

Am I simply corrupting the PHP runtime environment by invoking it this
way? No errors or warnings except for the segfault.

 [notice] child pid 15811 exit signal Segmentation fault (11)

I wrote a PHP function after scratching head a little.

ii  apache22.2.16-6+squeeze7
  Apache HTTP Server metapackage
ii  apache2-doc2.2.16-6+squeeze7
  Apache HTTP Server documentation
ii  apache2-mpm-prefork2.2.16-6+squeeze7
  Apache HTTP Server - traditional non-threaded model
ii  apache2-utils  2.2.16-6+squeeze7
  utility programs for webservers
ii  apache2.2-bin  2.2.16-6+squeeze7
  Apache HTTP Server common binary files
ii  apache2.2-common   2.2.16-6+squeeze7
  Apache HTTP Server common files
ii  libapache2-mod-auth-pgsql  2.0.3-5
  Module for Apache2 which provides pgsql authentication
ii  libapache2-mod-fcgid   1:2.3.6-1+squeeze1
  an alternative module compat with mod_fastcgi
ii  libapache2-mod-fcgid-dbg   1:2.3.6-1+squeeze1
  debugging symbols for mod_fcgid
ii  libapache2-mod-php55.3.3-7+squeeze8
  server-side, HTML-embedded scripting language (Apache 2
module)


-- 
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f9ea99d.4030...@zynet.net



[bts-link] source package apache2

2012-04-30 Thread bts-link-upstream
#
# bts-link upstream status pull for source package apache2
# see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
#

user bts-link-upstr...@lists.alioth.debian.org

# remote status report for #664761 (http://bugs.debian.org/664761)
# Bug title: apache2/conf.d migration: what should webapp packagers do?
#  * https://bugs.launchpad.net/bugs/911461
#  * remote status changed: (?) - Fix-Committed
usertags 664761 + status-Fix-Committed

thanks


--
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120430163816.31776.81240.btsl...@busoni.debian.org



Re: Bug#670572: [xml/sgml-pkgs] Bug#670572: libxml2: missing link from /usr/lib

2012-04-30 Thread Stefan Fritsch

On Sun, 29 Apr 2012, Julien Cristau wrote:


On Sun, Apr 29, 2012 at 13:10:05 +0200, Stefan Fritsch wrote:


LoadFile /usr/lib/${DEB_HOST_MULTIARCH}/libxml2.so.2. This would
break with non-multiarch versions of libxml2, but that's acceptable.


A simple LoadFile libxml2.so.2 doesn't work?  Or any other way to make
it obey the normal dlopen search path?


Unfortunately, Apache treats all non-absolute pathnames as relative to the 
server root directory. It will never pass a non-absoulute path to 
dlopen(). But we could change it to only do this if the relative pathname 
contains at least one slash.


I will ask the other upstream developers what they think of such a change.


--
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.deb.2.00.1204302119570.31...@eru.sfritsch.de



seriously

2012-04-30 Thread Nicholas Bamber

clone 669796 -1
retitle -1 w3c-markup-validator: transition towards Apache 2.4
user debian-apache@lists.debian.org
usertags -1 apache24webapptransition
thanks


Okay I tried upgrading to the experimental release of apache and I 
failed. It seems to me the experimental release needs some piuparts testing.



--
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f9eff55.1010...@periapt.co.uk