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