Midgard ist setting

NameVirtualHost 192.168.0.1:80
<VirtualHost 192.168.0.1:80>
    # Switch off magic quotes - it is required with Midgard
    php_value magic_quotes_gpc off
    php_value magic_quotes_runtime off

[...]

I now have some interference with other php projects, that need

    php_value magic_quotes_gpc on

Meanwhile, the standard setting in php.ini is

magic_quotes_gpc        =       On              ; magic quotes for
incoming GET/POST/Cookie data

but it is "overwritten" by the midgard-data.conf. These projects run on
the same server & port but through the "normal" php4 preparser so they
should use standard php.ini.settings. There is no separate PHP function
like "set_magic_quotes_gpc(1);"
I played with

<?php
set_magic_quotes_runtime(1);
?>.

in the code, but no success.
Any ideas? Is there a problem of the mod_midgard translation? Or do I
need to set up a different virtual host definition with "php_value
magic_quotes_gpc on" - to separate php settings for midgard from the
ones for the classic (hardcoded) php stuff?

Sorry, but I am not very familiar with that VIrtualHost stuff yet ...

Thomas

--
-------------------------------------------------------
Thomas M. ROTHER  - "netzwissen" - 73728 Esslingen
Germany/EU - http://www.netzwissen.de (updated)
Public PGP Key available from http://www.keyserver.net
-------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to