OK - I'm at my wits end.  I have a working Apache 1.3.29 + mod_ssl

Just decided to apply the IPV6 patch for apache as well, as my server
has an IPV6 address that gets used for mail and other stuff
(unbelievable, the number of hosts that send my server email over
ipv6 ... still a very small number, but it keeps growing steadily)

So when I applied this patch, my virtual hosting for https sites
(well, only one https site, a squirrelmail install) broke. http to
that site works very well indeed.

frodo:~# cat /usr/local/etc/apache/hserus.net.conf

<VirtualHost *>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /home/suresh/public_html
    ServerName www.hserus.net
    ServerAlias hserus.net www.hserus.net frodo.hserus.net
    ScriptAlias /cgi-bin/ /home/suresh/public_html/cgi-bin/
</VirtualHost>

<VirtualHost *>
 ServerName webmail.hserus.net
 DocumentRoot /home/suresh/public_html/squirrelmail/
# Redirect / https://webmail.hserus.net
</VirtualHost>

<VirtualHost *:443>
 SSLEngine On
 SSLCertificateFile /usr/local/etc/apache/frodo.crt
 SSLCertificateKeyFile /usr/local/etc/apache/frodo.key
 ServerName webmail.hserus.net
 DocumentRoot /home/suresh/public_html/squirrelmail/
</VirtualHost>

While httpd.conf has -

NameVirtualHost *
Include /usr/local/etc/apache/hserus.net.conf

and then

<VirtualHost _default_:443>
[default settings for mod_ssl]
</VirtualHost>

What happens now is that I get a warning:

[Thu Dec 11 01:00:10 2003] [warn] VirtualHost *:0 overlaps with
 VirtualHost *:0, the first has precedence, perhaps you need a
 NameVirtualHost directive


and ... a request for http://webmail.hserus.net goes through but
requesting https://webmail.hserus.net gives me 403 Forbidden -

::ffff:204.74.68.40 - - [11/Dec/2003:03:14:25 +0530]
"\x80\x82\x01\x03\x01" 403 - "-" "-" 

   --srs

-- 
[EMAIL PROTECTED] (Suresh Ramasubramanian)
[EMAIL PROTECTED]:/usr/src$ mv linux Gnu/Linux
mv: cannot move `linux' to `Gnu/Linux': No such file or directory
        jaharkes @ cs.cmu.edu in reply to RMS on linux.kernel



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to