You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Matt Sergeant <ma...@sergeant.org> on 2000/08/26 09:27:17 UTC

Custom Directives turn off PHP

I wonder if anyone has ever seen this before - one of my AxKit users has
found that custom directives are turning PHP off. For example:

PHP simply doesn't even function with this configuration:

<VirtualHost 63.100.32.74:80>
  DocumentRoot /data/www/pdamd/docs

  AxDebugLevel 5
  AxCacheModule Local::Apache::AxKit::Cache
  AxAddStyleMap application/x-xpathscript \
Apache::AxKit::Language::XPathScript
  AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP
  AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot

  <Files *.xml>
    SetHandler perl-script
    PerlHandler AxKit

    PerlInitHandler  Local::Vertical::Apache::ResetAds
    PerlInitHandler  Local::Vertical::Apache::UserSession
  </Files>

</VirtualHost>  

Whereas with this one it works fine:

<VirtualHost 63.100.32.74:80>
  DocumentRoot /data/www/pdamd/docs

  <Files *.xml>
    SetHandler perl-script
    PerlHandler AxKit

    PerlInitHandler  Local::Vertical::Apache::ResetAds
    PerlInitHandler  Local::Vertical::Apache::UserSession
  </Files>

</VirtualHost>

AxKit has a DIR_MERGE handler, and I wondered if it might be something to
do with that, but I don't think so. AxKit's source code can be found at
http://axkit.org/download/ - this is using the latest 0.99-pre release.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org