This is my first attempt at Blesta install, and first time setting up a vps from scratch with LAMP.
I have Apache2 running, PHP 7.0.25-0ubuntu0.16.04.1 (cli) ( NTS ) and MyQSL.
I had a bit of trouble getting MailParse to install so not sure if I have everything installed correctly.
Checked my site with info.php, looks like i have everything else installed and enabled, not 100% sure.
I had a domain name on another server with cpanel access where I created a subdomain: clients.domain.com
Then I went into the DNS zone manager of that main domain and there were 4 records for the subdomain there,
I pointed that to the vps IP where I set up a virtual host for clients.domain.com <- I'm able to access that.
Then I renamed the blesta main directory to services and uploaded that via ftp.
But when I try to visit clients.domain.com/services i get nothing, empty page, even if i use index.php on the end.
I checked to see f mode_rewrite was working, it says it's enabled and running, I don't know a lot about all this terminal stuff.
Here's what's in the htaccess file in the Blesta main directory:
# Do not allow direct access to templates
# or an unauthorized backdoor from CE
<Files ~ "blesta2ce.php|\.(pdt)$">
order deny,allow
deny from all
</Files>
# Protect against Clickjacking
#Header append X-Frame-Options "SAMEORIGIN"
RewriteEngine on
# Force HTTPS
#RewriteCond %{HTTPS} !=on
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]
Question
EMar
Hi,
This is my first attempt at Blesta install, and first time setting up a vps from scratch with LAMP.
I have Apache2 running, PHP 7.0.25-0ubuntu0.16.04.1 (cli) ( NTS ) and MyQSL.
I had a bit of trouble getting MailParse to install so not sure if I have everything installed correctly.
Checked my site with info.php, looks like i have everything else installed and enabled, not 100% sure.
I had a domain name on another server with cpanel access where I created a subdomain: clients.domain.com
Then I went into the DNS zone manager of that main domain and there were 4 records for the subdomain there,
I pointed that to the vps IP where I set up a virtual host for clients.domain.com <- I'm able to access that.
Then I renamed the blesta main directory to services and uploaded that via ftp.
But when I try to visit clients.domain.com/services i get nothing, empty page, even if i use index.php on the end.
I checked to see f mode_rewrite was working, it says it's enabled and running, I don't know a lot about all this terminal stuff.
Here's what's in the htaccess file in the Blesta main directory:
########################################################
# package: minPHP
# filename: .htaccess
########################################################
# Do not allow direct access to templates
# or an unauthorized backdoor from CE
<Files ~ "blesta2ce.php|\.(pdt)$">
order deny,allow
deny from all
</Files>
# Protect against Clickjacking
#Header append X-Frame-Options "SAMEORIGIN"
RewriteEngine on
# Force HTTPS
#RewriteCond %{HTTPS} !=on
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php
RewriteCond %{REQUEST_URI} ^(.*)/install.php$
RewriteRule install.php %1/install/ [R=301,L]
I have a feeling I should have go cPanel on my vps but it has nothing only what I added above.
Any help appreciated, it took me a few days to get this far, can't quit now.
Thanks later
22 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.