FC3 and Apache Mixed SSL & Non-SSL Virtual Hosts Config

Thomas Cameron thomas.cameron at camerontech.com
Tue Mar 1 18:21:54 UTC 2005


> Hello Thomas,
>
> Actually I looked in the ssl.conf but did not find any directives that
> would make the Apache SSL virtual hosts look for the files in the
> /etc/httpd/htdocs directory?
>
> Is this some type of default for secured DocumentRoot directive?
>
> Thanks,
> Lonnie
>
>>> ----------------------------------------------
>>> # Secure Server Hosts Sites -- Multiple secure sites will be here
>>> <VirtualHost www.site1.com>
>>>    ServerName www.site1.com:443
>>>    ServerAdmin postmaster at site1.com
>>>    DocumentRoot /www/websites/site1/html
>>>
>>>    ErrorLog logs/ssl_error_log
>>>
>>>    <IfModule mod_log_config.c>
>>>      TransferLog logs/ssl_access_log
>>>    </IfModule>
>>>
>>>    SSLEngine on
>>>    SSLCipherSuite
>>> ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
>>>
>>>    SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
>>>    SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
>>>
>>>    <Files ~ "\.(cgi|shtml|phtml|php?)$">
>>>      SSLOptions +StdEnvVars
>>>    </Files>
>>>
>>>    <Directory "/www/websites/site1/cgi-bin">
>>>      SSLOptions +StdEnvVars
>>>    </Directory>
>>> </VirtualHost>
>>> ---------------------------------------------
>>>
>>> Thanks in advance,
>>> Lonnie
>>
>> I think you need to put your SSL virtual hosts in
>> /etc/httpd/conf.d/ssl.conf
>>
>> Thomas

I don't even see a DocumentRoot directive - you need to define one.

Thomas




More information about the fedora-list mailing list