the following conf might work: ... ... # restrict general server conf to localhost BindAddress 127.0.0.1 ... ... <IfDefine HAVE_SSL> Listen 80 Listen 443 </IfDefine>
<IfDefine HAVE_SSL> ## ## SSL Virtual Host Context ## <VirtualHost 20.30.70.40:443> ... ... </VirtualHost> <VirtualHost 20.30.70.40:80> ... ... </VirtualHost> <VirtualHost 20.30.70.48:443> ... ... </VirtualHost> <VirtualHost 20.30.70.48:80> ... ... </VirtualHost> </IfDefine> > -----Ursprungliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 10. Dezember 2001 22:52 > An: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Betreff: [BugDB] Configuration problems (PR#640) > > > Full_Name: > Version: 2.8.5 > OS: Linux > Submission from: (NULL) (216.72.177.4) > > > I have defined 2 domains in one server, based on IP address > my etc/hosts file is like: > 20.30.70.40 server_name www.domain_A domain_A > 20.30.70.48 server_name www.domain_B domain_B > > my httpd.conf is like > .. > .. > .. > Listen 80 > NameVirtualHost 20.30.70.40 > > <VirtualHost 20.30.70.40> > ServerAdmin admin@domain_A > DocumentRoot /home/httpd/file_A/www > ServerName Domain_A > Directory Index htm html cgi > ####### > <Directory /home/httpd/file_A/www/> > order allow,deny > Options Indexes Includes FollowSymLinks ExecCGI > deny from all > </Directory> > > ErrorLog logs/Domain_A-error_log > CustomLog /var/log/httpd/Domain_A-access_log common > </VirtualHost> > > <VirtualHost 20.30.70.48> > DocumentRoot /home/httpd/domain_B > ServerName www.domain_B > ServerAdmin admin@domain_B > ErrorLog /var/log/httpd/domain_B-error_log > CustomLog /var/log/httpd/domain_B-access_log common > DirectoryIndex index.htm index.html > > <Directory "/home/httpd/domain_B"> > AllowOverride None > Options Indexes Includes FollowSymLinks ExecCGI > Order allow,deny > Allow from all > </Directory> > > > </VirtualHost> > > <IfDefine HAVE_SSL> > ## > ## SSL Virtual Host Context > ## > Listen 443 > <VirtualHost 20.30.70.40:443> > DocumentRoot /home/httpd/domain_A/www > ServerName www.domain_A > SSLEngine on > SSLProtocol all -SSLv3 > # Server Certificate: > SSLCertificateFile /etc/httpd/conf/propio/certisur_A.crt > # Server Private Key: > SSLCertificateKeyFile /etc/httpd/conf/propio/server_A.key > > <Files ~ "\.(cgi|shtml)$"> > SSLOptions +StdEnvVars > </Files> > <Directory "/var/www/cgi-bin"> > SSLOptions +StdEnvVars > </Directory> > > SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown > CustomLog /var/log/httpd/ssl_request_log \ > "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" > > </VirtualHost> > > <VirtualHost 20.30.70.48:443> > ServerName www.Domain_B > DocumentRoot /home/httpd/domain_B > <Directory "/home/httpd/domain_B"> > AllowOverride None > Options Indexes Includes FollowSymLinks ExecCGI > Order allow,deny > Allow from all > </Directory> > SSLEngine on > SSLProtocol all -SSLv3 > SSLCertificateFile /etc/httpd/conf/mallgallery/certisur_B.crt > SSLCertificateKeyFile /etc/httpd/conf/mallgallery/server_B.key > > <Files ~ "\.(cgi|shtml)$"> > SSLOptions +StdEnvVars > </Files> > <Directory "/var/www/cgi-bin"> > SSLOptions +StdEnvVars > </Directory> > CustomLog /var/log/httpd/ssl_request_log \ > "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" > > </VirtualHost> > </IfDefine> > > If I call Domain_A or Domain_B in non secure > operation(hhttp) I haven't > problems, but if in secure conditions (https) the server only > respond to > Domain_A calls > I waiting for some comments please > > ______________________________________________________________________ > Apache Interface to OpenSSL (mod_ssl) www.modssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]