httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LeTortorec, Jean-Louis" <JLeTorto...@healthcore.com>
Subject Starting 2 separate servers
Date Thu, 18 Apr 2002 16:00:02 GMT
Good morning everyone:


I've installed SSL, with mod-ssl, on my server.

As SSL handles only IP addresses and not domain names, I need to start 2
servers:
- 1 for port 80, www.mydomain.com,
- 1 for port 443, secure.mydomain.com.
(identical IP address for both).

I found out that I need to use the IfDefine directive such as:
	<IfDefine main>
		port 80
	</IfDefine>
	<If Define secure>
		port 443
		SSLEngine on
	</IfDefine>

Then I'm supposed to start Apache by a "httpd -D main", and the second
server by "httpd -D secure".

My question is that till now, I start the server by "apachectl start", and
it looks like the open "-D" does not exist.
Could someone help me?

Thanks much.


Jean-Louis

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


Mime
View raw message