This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How To Pass Environment Variable To The Apche2 Server

0 down vote favorite share [fb] share [tw]

I want to pass envrionment varaable to the apcahe2 server... I have exported PATH Var in .bashrc file

now i want to pass it to the server... I inserted this line 'PassEnv PATH ' to my apache.conf file..

PassEnv PATH ScriptAlias /cgi-bin/ /home/abc/cgi-bin/ <Directory "="" home="" abc="" cgi-bin"=""> Options +ExecCGI Allow from all

</Directory>

but it still not identifying the this variable...

Pl Help me how to pass this Env var to the server..

Thanks

off topic. Please ask your question on stackoverflow.com ..

0 answers

No answers yet.

Log in to answer this question.