Kloxo
Control Panel Software
Apache optimize
This file is actually "~lxcenter.conf". NOTE: nano doesn't like to edit it.
- /etc/httpd/conf.d/~lxcenter.conf
KeepAlive On <IfModule mod_expires.c> ExpiresActive on ExpiresByType text/css "access plus 14 days" ExpiresByType text/xml "access plus 0 seconds" ExpiresByType text/javascript "access plus 14 days" ExpiresByType text/html "access plus 14 days" ExpiresByType image/x-icon "access plus 1 year� ExpiresByType image/ico "access plus 14 days" ExpiresByType image/jpg "access plus 14 days" ExpiresByType image/jpeg "access plus 14 days" ExpiresByType image/gif "access plus 14 days" ExpiresByType image/png "access plus 14 days" ExpiresByType image/svg+xml "access plus 1 month" ExpiresByType audio/ogg "access plus 1 month" ExpiresByType video/ogg "access plus 1 month" ExpiresByType video/mp4 "access plus 1 month" ExpiresByType video/webm "access plus 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType application/javascript "access plus 1 year" ExpiresByType application/x-javascript "access plus 14 days" ExpiresByType application/x-font-woff "access plus 1 month" ExpiresByType application/vnd.ms-fontobject "access plus 1 month" ExpiresByType application/xml "access plus 0 seconds" ExpiresByType application/json "access plus 0 seconds" ExpiresByType application/rss+xml "access plus 1 hour" ExpiresByType application/atom+xml "access plus 1 hour" </IfModule>
Mod Security
Install it
Image Optimize
Optimize all your images with a single command: (http://optipng.sourceforge.net/)
$ find . -name '*.png' | xargs optipng -nc -nb -o7 -full
WHMCS Configuration
must allow 'curl_exec' and 'curl_multi_exec' in advanced php config options.
Manual Restore
/script/restore --restore --accounts=all /home/kloxo/client/admin/__backup/kloxo-scheduled-6.1-admin-2012-Nov-01-1351764232.tgz
../bin/common/restore.php --class=client --name=admin --restore \ --accounts=client:username1,mysqldb:username1,domain:user1domain.com,domain:user1domain2.com
Tail ShellExec
tail -f /usr/local/lxlabs/kloxo/log/shell_exec
SSL Certificate 2048
- Generate RSA Key
openssl genrsa -out secure.mydomain.com.key 2048
cat secure.mydomain.com.key
- Generate CSR
openssl req -new -key secure.mydomain.com.key -out secure.mydomain.com.csr
cat secure.mydomain.com.csr
- Implement
Log into Kloxo and click on teh SSL Certificate link.
Now click on the Add Upload Txt tab. Put in the name of what you want to call the Paid Certificate. Example secure.viviotech.net Next in the Certificate Section Paste in the Certificate you got from the SSL company. Next in the Key Section Paste in the Key we copied earlier to notepad. Next for the CACert section if you have the CACert go ahead and put that in. However I believe most name brand SSL's will have this info in the browsers and I don't think you have to have it. However if you have the info by all means put it in there. Or if your having problems with your browser seeing the issuing company get the info and put it in. I just worked on a comodo ssl which worked ok for IE 7 but did not work in Firefox 3 with out have the CA Certificate.
Go ahead and click add
We are not back to the list of the SSL's on the server. Click on the SSL we just added. In my case secure.viviotech.net Next in the oval box that states
To assign this ssl certificate to a particular ipaddress, click here and then go into an ipaddress, and click on ssl certificate tab, and you can set one of these certificates to a particular ipaddress. The admin will need to have assigned you an exclusive ipaddress for you to access this feature.
click on the click here link.
Next click on the IP address we are using for the site that will have the SSL. Then click on Ssl Configuration Home tab. Select the SSL we are wanting to use. Then click update.
I have found that at times Apache still needs a restart to get things working right away. If you go back to Home and then down to the Server : Linux section and click on Services Then on the line that has the Name of httpd click on the last bubble on that line. It is the restart bubble. If you mouse over the bubble it will pop up with what it does.
You may also need to assign the domain to the ip address. If you have trouble with assigning the SSL try clicking on the configure domain tab under the ip address and assign that IP to the domain. Then restart apache and check the site for the correct SSL certificate.