httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Götz Lohmann <go...@mrblackrose.de>
Subject Re: [users@httpd] Please Help with HTTPD.CONF
Date Tue, 21 Dec 2004 20:31:10 GMT
O-One schrieb:

>Hello all,
>
>My Apache is currently running fine with no problem
>using NameBasedVirtualHost. I am now trying to add SSL
>onto it. My first time.
>
>I have my certificate and the private key. (Self
>generated)
>
>Now I need to edit my httpd.conf and I do not want to
>mess up.
>
>Here are what I think I know:
>
>uncomment 
>#LoadModule ssl_module modules/mod_ssl.so
>
>add
>Listen 443 under Listen 80 Thsi is outside the
>VirtualHost Containers - Do I need to?
>
>add the following into my Virtualhost Containers:
>
>SSLEnable
>SSLCertificateFile C:/Program
>Files/Apache/Apache2/Certificate/certnew.cer
>SSLCertificateKeyFile C:/Program
>Files/Apache/Apache2/Certificate/private/apache2.pvk
>
>Now what I definitely do not know:
>
>What do I do with the following entries?
>
>NameVirtualHost 192.168.112.150:80
><VirtualHost 192.168.112.150:80>
>  
>
add (not change!)

NameVirtualHost 192.168.112.150:443
<VirtualHost 192.168.112.150:443>
...
</VirtualHost>

>After I do this, would my site now only be reachable
>by https? And is there something else that I am
>missing?
>  
>
nope, only if the lines are not att but changed to the above
take a look at

http://httpd.apache.org/docs-2.0/vhosts/examples.html


regards

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message