Hi dear Gurus…
i need a urgent help to convert below apache syntax to irules…
immense of thanks , if any body make it possible…
Apache syntax below:
SECUREMAIL
https://aaaa.bbbb.com → https://www.cccc.com
Created: 24/10/2007 by rue
Listen aaaa.bbbb.com:443
ServerName aaaa.bbbb.ch
CustomLog /var/log/apache2/aaaa-access.log combined
ErrorLog /var/log/apache2/aaaa-error.log
Possible levels: debug, info, notice, warn, error, crit, alert, emerg
LogLevel info
SSLCertificateKeyFile /etc/apache2/ssl/aaaa.bbbb.com.key
SSLCertificateFile /etc/apache2/ssl/securemail.generali.ch.crt
SSLCertificateChainFile /etc/apache2/ssl/CA/intermediate-pro.crt
SSLEngine on
RedirectMatch permanent ^/$ https://aaaa.bbbb.com/hp/index.php?id=30&L=0
RewriteEngine on
RewriteRule ^/$ https://aaaa.bbbb.com/hp/index.php?id=30&L=0 [NC,R,L]
RewriteCond %{REQUEST_URI} ^/favicon.ico$
RewriteRule ^(.+)$ https://mylife.bbbb.com/$1 [NC,P,L]
RewriteCond %{REQUEST_URI} !^/favicon.ico$
RewriteRule ^(.+)$ www.cccc.com [NC,P,L]
ProxyPass /hp www.cccc.com
ProxyPassReverse /hp www.cccc.com
ProxyPassReverse /fileadmin www.cccc.com
ProxyPass / https://www.cccc.com/
ProxyPassReverse / https://www.cccc.com/
ProxyPassReverse / https://www.cccc.com/
only needed, if proxy to ssl enabled web service
SSLProxyEngine on
Rewrite ‘Server’ Header
Header set Server ‘Apache’
if we want to use local error pages instead of those of the
forwarded host:
ATTENTION: doesn’t work with Firefox !!!
ProxyErrorOverride On
Convert to irules pls…help help