Guest Posted March 8, 2004 Share Posted March 8, 2004 I have just installed MS2 and I want to get the SSL working. I am on a shared server and have configured the cart with this address. When the cart tries to access the server in secure mode I get a server error message. The guys at my hosting co have sent me a copy of the error log: [Mon Mar 8 15:00:58 2004] [error] [client 81.168.30.141] Directory index forbidden by rule: /domains/f/l/floralart.co.uk/public_html/catalog/images/ The hosting co is here in the UK called Donhost. I did find someone called Mindvision posting the same prob who said .... Then go to this message from Robert which is related to suexec not working on the server: http://www.oscommerce.com/forums/viewtopic.php...p=220985#220985 Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2004 Share Posted March 8, 2004 change hosts, if you have to rely on them to access the log files. Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2004 Share Posted March 8, 2004 I have been spending some time trying to sort this. I have found someone else who was posting exactly the same problem with the same hosting co. There was no answer to his thread but I have checked his site http://www.signprint.co.uk/ and it now works. Very frustrating - I know it can be done but how??? Please help Paul Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2004 Share Posted March 8, 2004 The guy from signprint who has his site working kindly pm'd me. He said the directory had permissions set and I had to delete the htaccess file. I have done this and now when I go to checkout I get: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /amd/17/fs/home/f/l/floralart/public_html/catalog/includes/functions/database.php on line 19 Unable to connect to database server! Any ideas anyone - pleeese Paul Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2004 Share Posted March 9, 2004 This is now sorted For the benefit of other Donhost users in the UK here's what you do. Go to your Donhost CP & find out the number of the server where you site is hosted. In catalog/includes & catalog/admin/includes alter the configure.php file so it reads define('DB_SERVER', 'serverxx'); // eg, localhost - should not be empty for productive servers Where xx is your server instead of: define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers Its a great feeling to get it working Link to comment Share on other sites More sharing options...
AlanR Posted March 9, 2004 Share Posted March 9, 2004 That's the same for nearly every shared server set-up as far as my experience goes. I've never had a dedicated server, only shared accounts and I've always been assigned a db server host by the hosting service. I think localhost only works if you "own" the entire machine. I could be wrong though. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.