Forum Moderators: phranque

Message Too Old, No Replies

APACHE 2.2.9 not working in SSL mode.

APACHE 2.2.9 not working in SSL mode.

         

Prathima

2:02 pm on Sep 15, 2008 (gmt 0)

10+ Year Member



Hi Experts,

With the below configuration in httpd.conf file, am getting "file doesnot exist error" in error.log.If I remove the Virtualhost tag from the below configuration,Apache serves pages.But I want apache to work with the virtualhost directive.

<IfDefine SSL>
Listen 443
LoadModule ssl_module modules/mod_ssl.so
SSLMutex default
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLSessionCache dbm:C:/PROGRA~1/CSCOpx/MDC/Apache/logs/ssl_scache
SSLSessionCacheTimeout 600
SSLOptions +StdEnvVars +ExportCertData
SSLCipherSuite ALL:!ADH:!EXPORT56:!EXPORT40:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
<VirtualHost _default_:443>
ServerName pdandapa-wxp:443
SSLEngine on
SSLCertificateFile conf/ssl/server.crt
SSLCertificateKeyFile conf/ssl/server.key
SSLCertificateChainFile conf/ssl/chain.cer
SSLCACertificatePath conf/ssl
</VirtualHost>
</IfDefine>

Please throw light on this issue.
Thanks in advance.

Regards,
Prathima.

jdMorgan

3:43 pm on Sep 15, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Take a look through the vHost configuration for the non-SSL virtual server and compare to your SSL server config. You are missing things like a DocumentRoot declaration that will need to be defined for the SSL server as well.

Jim

Prathima

5:24 am on Sep 16, 2008 (gmt 0)

10+ Year Member



Thanks for your reply JIM
The configuration specified is not full.DocumentRoot declaration is also specified above the ifDefine.

Prathima

5:24 am on Sep 16, 2008 (gmt 0)

10+ Year Member



Thanks for your reply JIM
The configuration specified is not full.DocumentRoot declaration is also specified above the ifDefine.