Brashquido Posted December 7, 2013 Report Posted December 7, 2013 Hi All, I am using Blesta 3.0.6 on Windows 2012 Server / IIS 8 running PHP 5.4.20. The issue I am having is the path appended to the hostname in the URL in email templates is incorrect. For example I have the Root Web Directory under Settings -> System -> General -> Basic Setup to "C:\path\to\blesta" and have the hostname in Settings -> System -> Companies set to "my.blesta.com", then variables are getting populated like this; {client_url} http://my.blesta.comc:\path\to\blesta/client/ {payment_url} http://my.blesta.comc:\path\to\blesta/client//client/pay/method/10/?sid=aHDsaheioapwhfizphhofhsdhisafhk3423rohnl/client/pay/method/10/?sid=aHDsaheioapwhfizphhofhsdhisafhk3423rohnl These links obviously do not work and also expose the installation path of my Blesta install to my customers. How are the URLs for these variables generated? Also, the URL only specifies http instead of https which I used on my site. I do have redirection in place, but just wondering if there is anyway to get Blesta to generate https only URLs?
Cody Posted December 7, 2013 Report Posted December 7, 2013 Try: c:\path\to\blesta Note the lowercase "c". Brashquido 1
Brashquido Posted December 8, 2013 Author Report Posted December 8, 2013 Good spot Cody. That was the issue. Thanks. Would it be worth putting the lowercase drive letter requirement in the documentation? http://docs.blesta.com/display/user/System+%3E+General
Cody Posted December 9, 2013 Report Posted December 9, 2013 CORE-919 fixed for 3.0.7 ensures that the root web directory is treated as case-insensitive. Thanks for the report.
Recommended Posts