Hello,

I want the following to be done for our new reverse proxy solution:

http://www.800-900manager.nl needs to be rewritten to
https://www.800-900manager.nl

and when someone goes to https://www.800-900manager.nl it needs to be
redirected to https://www.800-900manager.nl/nsapi/WebObjects/webfrc/

of course https://www.800-900manager.nl needs to be proxied to
http://10.120.16.80

as i expect this my config. and this config is ignoring the redirect.

help is needed, please ;-)

--------------
Listen 10.120.206.137:80
Listen 10.120.206.137:443

<VirtualHost 10.120.206.137:80>
    ServerAdmin [EMAIL PROTECTED]
    ServerName www.800-900manager.nl

    RewriteEngine on
    RewriteRule ^/(.*)$ https://www.800-900manager.nl/$1 [R,L]

    ErrorLog /var/log/apache2/error_log_vhosts
    TransferLog /var/log/apache2/access_log_vhosts
</VirtualHost>

<VirtualHost 10.120.206.137:443>
    ServerAdmin [EMAIL PROTECTED]
    ServerName www.800-900manager.nl

    Redirect permanent /
https://www.800-900manager.nl/nsapi/WebObjects/webfrc/
    ProxyPass / http://10.120.16.80/
    ProxyPassReverse / http://10.120.16.80/

    SSLEngine on
    SSLCertificateFile /etc/apache2/ssl.crt/www.800-900manager.nl.crt
    SSLCertificateKeyFile /etc/apache2/ssl.key/www.800-900manager.nl.key
    ErrorLog /var/log/apache2/error_log_vhosts
    TransferLog /var/log/apache2/access_log_vhosts
</VirtualHost>


===========================================================

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen 
bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u 
verzocht de inhoud niet te gebruiken en de afzender direct te informeren door 
het bericht te retourneren. Hoewel Orange maatregelen heeft genomen om virussen 
in deze email of attachments te voorkomen, dient u ook zelf na te gaan of 
virussen aanwezig zijn aangezien Orange niet aansprakelijk is voor 
computervirussen die veroorzaakt zijn door deze email.

The information contained in this message may be confidential and is intended 
to be only for the addressee. Should you receive this message unintentionally, 
please do not use the contents herein and notify the sender immediately by 
return e-mail. Although Orange has taken steps to ensure that this email and 
attachments are free from any virus, you do need to verify the possibility of 
their existence as Orange can take no responsibility for any computer virus 
which might be transferred by way of this email.

===========================================================

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to