Detect browser and set encode when download file.

 

Setup Mysql In Linux.

  • Update mysql service version up to 5.4 because default when install is 5.1

Redirect page jsp

Example:
When you access to http://ad-repo.com/info
The system auto redirect to http://ad-repo.com/info/lp/
Create file index.jsp on folder info with content :

 

How to create file CSR in linux ?

What is a CSR (Certificate Signing Request)?

What is a CSR? A CSR or Certificate Signing request is a block of encrypted text that is generated on the server that the certificate will be used on. It contains information that will be included in your certificate such as your organization name, common name (domain name), locality, and country. It also contains the public key that will be included in your certificate. A private key is usually created at the same time that you create the CSR.

A certificate authority will use a CSR to create your SSL certificate, but it does not need your private key. You need to keep your private key secret. What is a CSR and private key good for if someone else can potentially read your communications? The certificate created with a particular CSR will only work with the private key that was generated with it. So if you lose the private key, the certificate will no longer work.

https://help.ubuntu.com/12.04/serverguide/certificates-and-security.html

http://www.sslshopper.com/what-is-a-csr-certificate-signing-request.html

  • Config tomcat read file csr (https) in /etc/tomcat7/server.xml.