Category: Apache

Java Keytool to OpenSSL

Extract the certificate

Extract private key

See http://conshell.net/wiki/index.php/Keytool_to_OpenSSL_Conversion_tips

Read More »

Fix Plesk DBWebAdmin table copy problem

When trying to use the table copy operation in Plesk DBWebAdmin and error is received due to no space between the auto increment and default charset keywords. The following patch can be manually applied to: /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/sqlparser.lib.php to fix the problem.

Read More »

osCommerce Upgrade MySQL from 4.1 to 5.0.x

There are several common problems in osCommerce with join syntax when upgrading MySQL from 4.1 to 5.0.x. The exact fix for each join problem depends of the version of oscommerce being used and the patches or contributions that have been applied. The general problem is that the comma operator precedence has changed so that list syntax joins can’t be mixed with explicit joins in the same way. Where this worked previously:

It now needs to be:

We’ve identified the following files that frequently need to be updated: catalog/index.php There are four complex queries in this file that need to be updated as follows. The queries are shown in the order that they appear in the code. PRODUCTS BY MFG + CATEGORY Change from:

to:

PRODUCTS BY MFG Change from:

to:

PRODUCTS BY CATEGORY + MFG Change from:

to:

ALL PRODUCTS Change from:

Read More »

Force SSL

RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.