Using SSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've posted about this before, and I guess I'm just thick, but I'm just not getting it.

I need to implement secure transactions for a client, but I just can't figure out how to open a page with an https prefix. The server has mod-ssl and OpenSSL compiled into it:

Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.9 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a PHP-CGI/0.1b

Here's the PHP config:

'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-exif' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-mhash' '--with-ming=../ming-0.2a' '--enable-magic-quotes' '--with-mysql' '--with-openssl' '--enable-discard-path' '--with-pear' '--with-pspell' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--enable-wddx' '--with-xmlrpc' '--with-zlib'

I'm unable to open any pages with an https prefix, .html or .php. I get the message:

The requested URL /index.html was not found on this server.

(or whatever page I try to open other than index.html) This is in Firefox.

If I try it locally, I get "Connection refused when attempting to contact localhost". This is in Firefox. If I try to open a page on the server in Safari, I get redirected to http://www.netidentity.com/ Huh? If I try it locally in Safari, I get 'Safari can't connect to the server. Safari can't open the page "https://localhost/ because it cannot connect to the server "localhost".' (I get the standard Apache default page as http://localhost/).

From everything I've read and been told, all that should be necessary is to compile ssl into the server and PHP and add the https prefix. Aargh.

Should I be consulting an Apache mail list? Try to get a gig bagging groceries? Any advice as to where to find information about using SSL would be HUGELY appreciated. TIA

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux