LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2005, 08:30 PM   #1
Belize
Member
 
Registered: Jul 2003
Posts: 113

Rep: Reputation: 15
Trying to make mod_ssl work - virtualhosts make trouble


Hello all, thanks for your attention.
My apache iswas working steadily. I decided to add mod_ssl to it. First see my config:

I have one IP, so my VirtualHosts are Name ones. So in the conf I have Virtualhosts described as:

Quote:
NameVirtualHost *
<VirtualHost *>
ServerName blablabla...
.........
</VirtualHost>
I also have
Quote:
Listen my.external.internet.ip:80
Listen my.local.WLAN.ip:80
The apache has to serve both the WLAN and internet

now the mod_ssl.conf:
Quote:
Listen 80
Listen 443
<VirtualHost *:443> *I tried with _default_:443 as well*
ServerName the.main.domain.I.host
...all other options...
</VirtualHost>
apachectl startssl gives the following error:
Quote:
[Sun Feb 27 05:23:45 2005] [error] VirtualHost *:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
If I dont put additional options in the VirtualHost part of the mod_ssl but just like:
Listen 80 Listen 443 <VirtualHost _default_:443> </VirtualHost>, it gives the following error:
Quote:
[Sun Feb 27 05:28:55 2005] [crit] (98)Address already in use: make_sock: could n
ot bind to address 10.1.1.1 port 80
Please give me advice on how to make it work.
Have a great day
Kaloyan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Really, really Weird trouble with make (make error 2) flyeater SUSE / openSUSE 5 06-20-2005 12:05 PM
How do I make a change to a current kernel? Would 'make oldconfig' work... jtp51 Slackware 11 11-01-2004 11:02 PM
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 10:58 AM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM
Apache + mod_ssl + virtualhosts problems rohypnol Linux - Networking 1 11-26-2003 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration