Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] Binding question.

James Sherwood

2008-07-21

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello,
 
I am having trouble binding apache to an ip.  It works fine for port 80 but when I try to add port 443 something goes wrong.
 
This is what I have:
Listen 192.168.150.12:80
Listen 192.168.150.12:443
 
NameVirtualHost 192.168.150.12
NameVirtualHost 192.168.150.12:443
 
<VirtualHost 192.168.150.12:80>
lets say this is mydomain.com
</VirtualHost>
 
<VirtualHost 192.168.150.12:443>
lets say this is secure.mydomain.com
</VirtualHost>
 
With this config when I try to access mydomain.com I get a blank page(not page cannot be displayed but a blank page) but secure.mydoman.com works.
If I change the secure virtual host to just <VirtualHost> then mydomain.com works but secure.mydomain.com shows a page cannot be displayed.
 
What am I doing wrong?
 
Thanks,
--James
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.