httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hotmaster @ saudiabm" <hotmas...@saudiabm.com>
Subject if Statement
Date Sat, 25 May 2002 23:51:21 GMT
Hi

Is there any way to use "if" in .htaccess
I want to use :

If(hostname == 'webserver1.com') {
RewriteEngine on
RewriteRule   ^(.*)$  http://www. 'webserver1.net/$1  [R,L]
}

I have linux server 

Thank you



   _______________________
http://www.SaudiABM.com
-- * احفظ الله يحفظك * --
  _______________________
About Islam http://www.al-muntada.com/islam/
  _______________________



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message