Guest Posted October 31, 2002 Share Posted October 31, 2002 I am having intermittent problems with an installation of osCommerce hosted by Hostway.com. Here's the scenario: Hostway runs PHP as CGI rather than as an Apache mod. We are using a shared SSL cert. To run use PHP with SSL in this environment, Hostway tells me that I have to change all of my secure pages' extensions from .PHP to .SPHP and then add the following to the .htaccess file in the web root: To run PHP scripts on our secure servers as your master user and not the user "nobody" you will need to create a mime-type for your account. You can add this mime-type using the .htaccess file: -----begin snipet----- AddHandler ssl-php .sphp Action ssl-php /<domain>/cgi-bin/php -----end snipet------- **Above <domain> is domain without .com .net .org** The .htaccess usually would reside in your "www" directory. I have found that when I follow these directions exactly, the pages cannot be found. changing the above snipet from /<domain>/cgi-bin/php to /cgi-bin/php seems to work better. So, here is the problem, Once I have made the changes mentioned above, some users are able to use the site just fine, while others are unable to login. Of course, if they cannot login, they can't buy anything (big problem). You can see the site and try it out for yourself at http://www.doublel.com. One final note: If SSL is turned off, the problem disappears completely. I really need to get this resolved quickly. Any and all advice will be greatly appreciated. Thanks, Chris Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.