Forum Discussion
cnorgay_17044
Nimbostratus
Jan 18, 2008Urgent help <img src='desktopmodules/ntforums/images/emoticons/sad.gif' height='20' width='20' border='0' title='Sad' align='absmiddle'> Apache
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 ^(.+)$ https://www.cccc.com/$1 [NC,P,L]
ProxyPass /hp https://www.cccc.com/hp
ProxyPassReverse /hp https://www.cccc.com/hp
ProxyPassReverse /fileadmin https://www.cccc.com/fileadmin
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
1 Reply
- Deb_Allen_18Historic F5 Account
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects