httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon <dra...@crimson-dragon.com>
Subject Re: [users@httpd] Re: PerlSetEnv in .htaccess ?
Date Thu, 24 Jan 2008 16:19:40 GMT
abhishek jain wrote:

>On second thoughts is there a method by which i can execute some 
>piece of code to execute even before my scripts are called, remember 
>i am on a shared host,
>abhi
---------------- End original message. ---------------------

Child Perl programs inherit the environment of their parent, so 
setting the variable in a wrapper before calling the other script would work.

The best way is to get your hosting provider to help you set what you 
need in the main httpd.conf but if they won't do that, this will work.



Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message