>-----Original Message-----
>From: Ravi Babu D - CTD, Chennai. [mailto:[EMAIL PROTECTED]]
>Sent: 28 November 2001 11:10
>To: [EMAIL PROTECTED]
>Subject: ProxyPass to https
>
>
>Hi,
>
>  I've small clarification related ProxyPass , 
>ProxyPassReverse directives
>in the Apache_1.3.19 with mod_ssl2.8.3 . 
>Is it possible to Proxypass to the https server ?
>ie Is the following directives are correct ?
>ProxyPass /test https://<remotewebserver>/test1
>ProxyPassReverse /test https://<remotewebserver>/test1
>
>Here the remotewebserver is SSL enabled server.
>
Yes, although I would use

ProxyPass /test/ https://<remotewebserver>/test1/
ProxyPassReverse /test/ https://<remotewebserver>/test1/

But that means that you have to remember the trailing / (which purists will
point out should always be added if you are requesting the default document
for a directory. Most browsers add this automatically)

The following should work as well:

RewriteEngine on
RewriteCond  %{HTTP_HOST}     ^(.*)$
RewriteRule  ^(/test/.*)$       https://<remotewebserver>/test1/$1 [P]

No doubt someone else knows a more elegant usage of mod-rewrite.

- 
John Airey
Internet systems support officer, ITCSD, Royal National Institute for the
Blind,
Bakewell Road, Peterborough PE2 6XU,
Tel.: +44 (0) 1733 375299 Fax: +44 (0) 1733 370848 [EMAIL PROTECTED] 

- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to