Bug 72685 - virtual hosts wrapped in SSL defines
Summary: virtual hosts wrapped in SSL defines
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: redhat-config-httpd
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-26 17:47 UTC by Steve Fox
Modified: 2015-03-05 01:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-08-26 17:47:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Steve Fox 2002-08-26 17:47:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809

Description of problem:
When a virtual host is defined with SSL support, the entire virtual host
definition is wrapped with a <IfDefine HAVE_SSL> statement, rather than just the
SSLEngine on directive.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Define a new virtual host and enable SSL support for it.
2. Look at the generated config file.

	

Actual Results:  <IfDefine HAVE_SSL>

# Virtual host Virtual Host 0
<VirtualHost *:81>
 	DocumentRoot /home/drfickle/public_html/ltc/w3/ 
 	ServerName _default_:81
	<Directory "/home/drfickle/public_html/ltc/w3/">
	 	AllowOverride none
	</Directory> 
 	SSLEngine on
</VirtualHost>

</IfDefine>


Expected Results:  # Virtual host Virtual Host 0
<VirtualHost *:81>
 	DocumentRoot /home/drfickle/public_html/ltc/w3/ 
 	ServerName _default_:81
	<Directory "/home/drfickle/public_html/ltc/w3/">
	 	AllowOverride none
	</Directory> 
<IfDefine HAVE_SSL>
 	SSLEngine on
</IfDefine>
</VirtualHost>




Additional info:

redhat-config-httpd-1.0.1-11

Comment 1 Phil Knirsch 2002-09-02 14:11:06 UTC
Fixed in CVS.

Read ya, Phil


Note You need to log in before you can comment on or make changes to this bug.