Re: trouble using environment variables in rewriterules

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

 



On Thu, Jun 18, 2009 at 7:51 AM, Jeremy Jones<jeremagne@xxxxxxxxx> wrote:
> Hi,
> I'm trying to set an environment variable in httpd.conf and then have it
> available to the URL-portion of a RewriteRule in a .htaccess file. Please
> could someone assist:
>
>
> In httpd.conf I have this line setting the environment variable:
>
> SetEnv       MODPERLPORT      81

SetEnv happens pretty late. SetEnvIf happens earlier.

If you want to read them with rewrite, use SetEnvIf.

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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