jekillen wrote:
> Hello again;
> I'm wondering if it is possible to create an $_ENV var with a php
> script running under a web server. I'm not sure where to look
> in the manual or other documentations for this. Isn't there a
> set_env() function or something like it? (would apply to php 4 0r 5x)

http://php.net/set_env
http://php.net/mailinglist_credit_depletion

> Thanks in advance.

<VirtualHost _default_:80>
        #blablablabla

        #use rewrite engine to determine/set stuff that ends up in $_SERVER
        RewriteEngine   On
        RewriteLogLevel 0
        RewriteMap      dom2ver         
txt:/usr/local/beeldspraak/files/bcms/rewritemap/dom2ver.txt

        RewriteRule     ^.*$            -       
[C,E=LIB_VERSION:${dom2ver:%{SERVER_NAME}|${dom2ver:LIB_DEFAULT}}]
        RewriteRule     ^.*$            -       
[C,E=VHOSTS_ROOT:/var/www/vhosts]
</VirtualHost>
> JK
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to