[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] SSL and PHP3
- Subject: [cobalt-users] SSL and PHP3
- From: Kevin Murphy <kevin@xxxxxxxxxxxxx>
- Date: Wed Mar 8 07:27:57 2000
- Organization: Glen Group
Hello.
I have several problems relating to my recent installation of the SSL
package on my RaQ2 that I hope the list can help with.
1. It doesn't seem to work. I have followed the instructions on the
Knowledge Base page regarding configuring a virtual site for SSL, and on
restart, nothing happens. When I type in https://etc., I get
"Netscape's connection was refused by the server..." I have tried both
accessing it via IP and by name, and have modified the VirtualHost
section several times in an attempt to get things working.
Here are my particulars:
server name: shop.clarkstradingpost.com
IP: 216.205.7.165 (my primary address is .162, so I'm on top of that
part of the game)
VirtualHost entry:
<VirtualHost 216.205.7.165:443>
ServerAlias shop.clarkstradingpost.com
DocumentRoot /home/sites/site3/web
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/clarkstradingpost.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
</VirtualHost>
Yes, I know this is contrary to the instructions - but when I did it as
instructed, httpsd complained that the machine name was bogus because
there was no reverse entry (I have since added that entry to the RaQ's
DNS table, as well).
One other strangeness: upon following the instructions, I got a syntax
error on line 1086 (or somewhere close) of the httpsd.conf file when I
ran the restart - that line of the file was pointing at server.crt
which, of course, was no longer there. I commented this line out, since
the file shouldn't be there, and should in fact be overridden by the
.crt file in the VirtualHost section. The restart parsed the .conf file
fine, but I'm wondering if there should be a test cert in there for good measure.
Finally, running:
# ps uax | grep httpsd
gets me a whole lotta nothin', except for the command itself. So
something's not going right when the httpsd starts up, but I'll be
darned if I can figure it out.
2. Once I get the httpsd happy, then I have to make it run with PHP,
since the store that I've developed is written EXCLUSIVELY in
php3/mySQL. Yes, I know Cobalt doesn't (officially) support this, but
I'm hoping I'm not the first person who ever wanted to do PHP-based
eCommerce on a RaQ2. The PHP3 that's running on the server now is the
.rpm provided in cobalt's /experimental directory on their ftp server (3.0.7).
My guess here is that, since PHP is running as a module, there won't be
any recompiling to do - just file copying to put the files where they
belong. But I'm sufficiently unfamiliar with the installation process
(hey - it was an RPM - gimme a break!), that I'm afraid I'm a bit lost,
even as to where to begin...
Thanks in advance.
-Kevin
P.S. My apologies if this has been asked and answered already - I
couldn't find any way to search the list archives at cobalt's site. If
anybody's set up a search of those archives, could you please pass that
URL along, so I can go there before I bug the list next time? Thanks.
--
Kevin Murphy
Director of Technology
Glen Group
Marketing and Advertising Design
P.O. Box 2838, 170 Kearsarge Street
North Conway, New Hampshire 03860
http://www.glengroup.com
Voice: 603-356-3030 ? FAX: 603-356-3991