httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagara Wijetunga <sagarali...@yahoo.com>
Subject Re: [users@httpd] mod_rewrite queries
Date Sat, 17 Jul 2004 13:26:39 GMT
--- Eimantas Vaiciunas <eimantas.vaiciunas@sc.vu.lt>
wrote:
> On Saturday 17 July 2004 12:57, Sagara Wijetunga
> wrote:
> > 3. How to write a conditional RewriteRule for the
> > following condition?
> > If (%{Env_var} does not exists) then do
> >     RewriteRule ...
> Try using SetEnvIf. Set variable on request
> conditions and the check:
> if (%{Env_var} exists) then do
> RewriteStuff
> 
Thanks for the reply.

I need to rewrite a URL if HTTPS env var if not
available. How could I detect this condition?
Appreciate your help.

Sagara


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

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