mjdawson5232
Programmer
Thank you very much in advance!!
I've been trying for some time to set up a secure login area set up off of one of my sites without success. The main site area needs to remain non-SSL, but the secure area (through a login sequence) needs to be SSL capable. When you click the login button the browser just hangs and times out. I am including the server config and key pieces of the the httpd.conf file.
Thanks again for any advice.
Apache/1.3.20 (Unix) AuthMySQL/2.20 PHP/4.0.5 mod_ssl/2.8.4 OpenSSL/0.9.6a
--------------
httpd.conf
--------------
ServerType standalone
ServerRoot "/usr/local"
Port 80
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>
User nobody
Group nobody
NameVirtualHost 61.113.5.26
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXP56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /usr/local/etc/apache/ssl.crt/server.crt
SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/server.key
<Directory "/usr/local/ SSLOptions +StdEnvVars
</Directory>
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
CustomLog /var/log/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
SSLVerifyClient 0
<VirtualHost DocumentRoot /usr/local/share/doc/apache/htdocs
ServerName ...
SSLDisable
</VirtualHost>
<VirtualHost DocumentRoot /usr/local/share/doc/apache/htdocs01
ServerName ...
RewriteEngine on
RewriteRule ^/restricted(.*) [R,L]
SSLDisable
</VirtualHost>
<VirtualHost _default_:443>
DocumentRoot /usr/local/share/doc/apache/htdocs01/restricted
ServerName secure.site2.com
...
SSLEnable
</VirtualHost>
<IfDefine SSL>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
</IfDefine>
<IfModule mod_ssl.c>
SSLPassPhraseDialog builtin
SSLSessionCache dbm:/var/run/ssl_scache
SSLSessionCacheTimeout 300
SSLMutex file:/var/run/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLLog /var/log/ssl_engine_log
SSLLogLevel info
</IfModule>
I've been trying for some time to set up a secure login area set up off of one of my sites without success. The main site area needs to remain non-SSL, but the secure area (through a login sequence) needs to be SSL capable. When you click the login button the browser just hangs and times out. I am including the server config and key pieces of the the httpd.conf file.
Thanks again for any advice.
Apache/1.3.20 (Unix) AuthMySQL/2.20 PHP/4.0.5 mod_ssl/2.8.4 OpenSSL/0.9.6a
--------------
httpd.conf
--------------
ServerType standalone
ServerRoot "/usr/local"
Port 80
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>
User nobody
Group nobody
NameVirtualHost 61.113.5.26
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXP56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /usr/local/etc/apache/ssl.crt/server.crt
SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/server.key
<Directory "/usr/local/ SSLOptions +StdEnvVars
</Directory>
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
CustomLog /var/log/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
SSLVerifyClient 0
<VirtualHost DocumentRoot /usr/local/share/doc/apache/htdocs
ServerName ...
SSLDisable
</VirtualHost>
<VirtualHost DocumentRoot /usr/local/share/doc/apache/htdocs01
ServerName ...
RewriteEngine on
RewriteRule ^/restricted(.*) [R,L]
SSLDisable
</VirtualHost>
<VirtualHost _default_:443>
DocumentRoot /usr/local/share/doc/apache/htdocs01/restricted
ServerName secure.site2.com
...
SSLEnable
</VirtualHost>
<IfDefine SSL>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
</IfDefine>
<IfModule mod_ssl.c>
SSLPassPhraseDialog builtin
SSLSessionCache dbm:/var/run/ssl_scache
SSLSessionCacheTimeout 300
SSLMutex file:/var/run/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLLog /var/log/ssl_engine_log
SSLLogLevel info
</IfModule>