You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/11/12 18:12:28 UTC

DO NOT REPLY [Bug 14483] New: - php_value setting don't work in separate config files

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14483>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14483

php_value setting don't work in separate config files

           Summary: php_value setting don't work in separate config files
           Product: Apache httpd-1.3
           Version: 1.3.23
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: andras.horvai@nextra.hu


Hi,


I'm using Mandrake 7.2 with the latest Apache what comes with it.
I store my every virtual hosts config in a separate file in a directory
(every file contains only one virtual server config). I add this directory to 
an include statement in the main httpd.conf file. My problem is: 
I cannot issue php_value entries in these separate files but in the httpd.conf 
these settings works. I'm useing the latest php (php 4.2.3).
Let us see an example:

the working separate file:

<VirtualHost 122.122.1.35>
ServerName test.mydomain.com
Alias /cgi-bin/ "/home/h2/www/cgi-bin/"
User h2
Group client

DocumentRoot /home/h2/www

<Directory /cgi-bin>
        Options ExecCgi
        AllowOverride None
        Action php-script /cgi-bin/index.cgi
        AddHandler php-script .php
</Directory>

<Directory />
        AllowOverride None
    Options None
</Directory>

</VirtualHost>

the non working file:

<VirtualHost 122.122.1.35>
ServerName test.mydomain.com
Alias /cgi-bin/ "/home/h2/www/cgi-bin/"
User h2
Group client

php_value open_basedir "/home/h2/www"

DocumentRoot /home/h2/www

<Directory /cgi-bin>
        Options ExecCgi
        AllowOverride None
        Action php-script /cgi-bin/index.cgi
        AddHandler php-script .php
</Directory>

<Directory />
        AllowOverride None
    Options None
</Directory>

</VirtualHost>

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org