One of Ralf's slides from ApacheCon 2000 has a rewrite rule to do this. I've
wanted to implement it for some time, but I couldn't figure it out!
http://www.modssl.org/docs/apachecon2000/slide-020-n.html
-
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]
>-----Original Message-----
>From: Owen Boyle [mailto:[EMAIL PROTECTED]]
>Sent: 16 August 2001 13:15
>To: [EMAIL PROTECTED]
>Subject: Re: Serving HTTP & HTTPS in one VHost-Config?
>
>
>Alex Pircher wrote:
>> OK. So only "NameVirtualhost 123.123.123.123"
>
>You'll still get a warning with this. To be absolutely safe, use:
>
>NameVirtualhost 123.123.123.123:80
>
>Then you can have as many NBVHs as you like on port 80 and exactly one
>SSL VH on port 443.
>
>> > What's the real problem? Do you want them both to serve the same
>> > content?
>>
>> Exactly, is this possible?
>
>The only simple way is with two VHs with the same DocumentRoot - even
>though it violates the Prime Directive (which is: "Never
>Define Anything
>More Than Once").
>
>If anyone can think of a RewriteRule that would do it - post it!
>
>Rgds,
>
>Owen Boyle.
>______________________________________________________________________
>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>User Support Mailing List [EMAIL PROTECTED]
>Automated List Manager [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]