Changes

Jump to navigation Jump to search
no edit summary
Line 216: Line 216:     
Click in Advanced.
 
Click in Advanced.
 +
    
Image 18<br />
 
Image 18<br />
Line 221: Line 222:     
In Private key file: select your private key rsa.ppk, click OK, click save, and click Login.
 
In Private key file: select your private key rsa.ppk, click OK, click save, and click Login.
 +
    
Image 19<br />
 
Image 19<br />
Line 226: Line 228:     
When we leave this nice window click Yes.
 
When we leave this nice window click Yes.
 +
    
Image 20<br />
 
Image 20<br />
Line 231: Line 234:     
Here we place our passphrase and click OK.
 
Here we place our passphrase and click OK.
 +
    
Image 21<br />
 
Image 21<br />
Line 238: Line 242:     
On the left is our local space and right remote.
 
On the left is our local space and right remote.
 +
    
= Submit Dolibarr files =
 
= Submit Dolibarr files =
Line 245: Line 250:     
We went down the generic version of Doibarr.
 
We went down the generic version of Doibarr.
 +
    
Image 23<br />
 
Image 23<br />
Line 259: Line 265:     
We return to the console and with our OpenShift application selected, we click on the bottom of the Databases section and select Add MySQL 5.5
 
We return to the console and with our OpenShift application selected, we click on the bottom of the Databases section and select Add MySQL 5.5
 +
    
Image 25<br />
 
Image 25<br />
Line 266: Line 273:     
Note -. In a normal application without Scale, the Cartridge Mysql be added to current Gear, but in our case, OpenShift reports that will address a new Gear for MySQl.
 
Note -. In a normal application without Scale, the Cartridge Mysql be added to current Gear, but in our case, OpenShift reports that will address a new Gear for MySQl.
 +
    
Image 26<br />
 
Image 26<br />
Line 271: Line 279:     
Copy the MySQL access credentials. They will be used later to access our data base.
 
Copy the MySQL access credentials. They will be used later to access our data base.
 +
    
Image 27<br />
 
Image 27<br />
Line 288: Line 297:  
header("Location: htdocs");<br />
 
header("Location: htdocs");<br />
 
?>
 
?>
 +
    
Image 28<br />
 
Image 28<br />
Line 298: Line 308:  
We opened our text editor again and add the following.
 
We opened our text editor again and add the following.
   −
RewriteEngine on<br />
+
*RewriteEngine on<br />
RewriteCond %{HTTP:X-Forwarded-Proto} !https<br />   
+
*RewriteCond %{HTTP:X-Forwarded-Proto} !https<br />   
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
+
*RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
    
Save with the name .htaccess right next to our dolibarr folder and index.php.
 
Save with the name .htaccess right next to our dolibarr folder and index.php.
    
As shown in the following image.
 
As shown in the following image.
 +
    
Image 29<br />
 
Image 29<br />
Line 310: Line 321:     
[[File:HttpAndhttps.JPG]]
 
[[File:HttpAndhttps.JPG]]
 +
    
Image 30<br />
 
Image 30<br />
155

edits

Navigation menu