Shared Environment Variable.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Running Apache 2.2 on Fedora 7, I have an environment
variable that is needed in a RewriteCond as well as
elsewhere in a bash script.  I would rather not set
it in two places.

Now I was setting it in /etc/bashrc, but it did not
work because, as I just learned, bashrc environment
variables are not available during boot up.

I therefore set the environment variable with a
RewriteRule.  I intend to add some lines to .bashrc
to scan httpd.config for RewriteRule lines that set
environment variables, and then set them in the shell.

I am sure that this will work, but there must be a
better way.  Any suggestions?

Thanks,
Mike.


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux