Bug 114315 - /etc/httpd/conf.d/ssl.conf conflicts with virtual host
Summary: /etc/httpd/conf.d/ssl.conf conflicts with virtual host
Alias: None
Product: Fedora
Classification: Fedora
Component: httpd
Version: 1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-01-26 15:35 UTC by Michael
Modified: 2007-11-30 22:10 UTC (History)
0 users

Clone Of:
Last Closed: 2004-01-27 15:19:01 UTC

Attachments (Terms of Use)

Description Michael 2004-01-26 15:35:30 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)

Description of problem:
Problem applies to RedHat 9 and Fedora Core 1. 

httpd ships with /etc/httpd/conf.d/ssl.conf in order to facilitate
https setup. 

However, this default configuration conflicts with use of

To use NameVirtualHost one has to rename ssl.conf so that it does not
get loaded. 

There are probably other/better ways to do it, but I am not aware of

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

How reproducible:

Steps to Reproduce:
1. Install RedHat 9/Fedora Core 1
2. Try to set up a NameVirtualHost - and fail
3. delete or rename /etc/httpd/conf.d/ssl.conf - NameVirtualHost works

Actual Results:  The default configuration should allow use of

Additional info:

I don't know enough about apache config to make any specific
recommendations. But someone who knows about it should be able to make
some config changes so that the default config does not break

If not, then there should be descriptive text in the
/etc/httpd/conf/httpd.conf file which warns about the conflict between
NameVirtualHost and ssl

Comment 1 Joe Orton 2004-01-26 16:02:48 UTC
What NameVirtualHost directive did you use which conflicts with
ssl.conf?  One without ":80" at the end?

Comment 2 Michael 2004-01-26 17:48:18 UTC
Correct ... I never specify :80 because on a couple of machines I
listen on other ports. 

Comment 3 Joe Orton 2004-01-27 14:27:47 UTC
That is simply a config error.  I'll add this to the default
httpd.conf for the next release:

# NOTE: NameVirtualHost cannot be used without a port specifier 
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.

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