[vox-tech] mod_ssl (was: Mod_perl)

Jay Strauss vox-tech@lists.lugod.org
Sat, 5 Apr 2003 00:48:51 -0600


Like I said, I don't know what I'm doing. But it works, maybe you don't need
the NameVirtualHost entries either?

----- Original Message -----
From: "Ricardo Anguiano" <anguiano@codesourcery.com>
To: <vox-tech@lists.lugod.org>
Sent: Thursday, April 03, 2003 3:38 PM
Subject: Re: [vox-tech] mod_ssl (was: Mod_perl)


> "Jay Strauss" <me@heyjay.com> writes:
>
> > I'd be happy to, but...
> >
> > I fixed one thing to break another.  Maybe someone could help me fix
this: I
> > can now server https but not http, it has something to do with the Port
> > directives and the Listen Directive and the virtual server directives.
I
> > just a total newbie with apache config
> >
> > below are my config files
>
> [Note: This may be a duplicate. I had email problems yesterday and
>  thought I had already sent this.]
>
> Jay,
>
> I didn't see a NameVirtualHost entry.
>
>         http://httpd.apache.org/docs-2.0/mod/core.html#namevirtualhost
>
> I have two NameVirtualHost entries in my httpd.conf file:
>
> NameVirtualHost *
> NameVirtualHost *:443
> ########################################################################
> # http://foo.example.com
> ########################################################################
> <VirtualHost *>
> ServerName foo.example.com
> ServerAdmin webmaster@example.com
> DocumentRoot /var/inet/hello
> </VirtualHost>
>
> ########################################################################
> # https://foo.example.com
> ########################################################################
> <VirtualHost *:443>
> ServerName foo.example.com
> ServerAdmin webmaster@example.com
> DocumentRoot "/var/inet/shello"
>
> # LOGGING
> ErrorLog logs/ssl_error_log
> TransferLog logs/ssl_access_log
> CustomLog logs/ssl_request_log \
> %t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
>
> # SSL
> SSLEngine on
> SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
> SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
> SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
> SetEnvIf User-Agent ".*MSIE.*" \
>          nokeepalive ssl-unclean-shutdown \
>          downgrade-1.0 force-response-1.0
>
> </VirtualHost>
>
> --
> Ricardo Anguiano
> http://www.codesourcery.com
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
>