Php versions and rewrite mod

Hi,

i am new to Virtualmin and i am trying to get used to it and migrate my cpanel domain to Virtualmin. I started this before 2 days but i have some issues and i hope you can help.

First i want to ask if its possible to have more that two available php versions. Now i have available 7.2.24 and 5.4.16. What if i need also php 7.0 because some of my sites are not compatible with 7.2?

A second question is about SSL. Is lets encrypt enough to give me a green padlock or i have to buy a ssl certificate? Also how is possible to connect via ssl when i am connecting to Virtualmin? (see attached photo)

My third question is about mod rewrite. Is it enabled by default? I am asking because i am trying to migrate a cs-cart website from cpanel and despite i can visit home page after migration all internal pages give me an not found error and i think that it is an mod rewrite and htaccess issue.

Thank you

Status: 
Active

Comments

Ilia's picture
Submitted by Ilia on Wed, 04/01/2020 - 17:53

Hi,

Thanks for choosing Virtualmin.

if its possible to have more that two available php versions.

Yes, it is. Instructions can be found here.

Is lets encrypt enough to give me a green padlock or i have to buy a ssl certificate?

Yes, Let's Encrypt is all you need - it's free and secure!

Also how is possible to connect via ssl when i am connecting to Virtualmin

Yes, however, you are already connected using SSL, which is good, as it's secure but it's just self-sign certificate that gives a warning in the browser. When you install Let's Encrypt, this warning will go away, and you will see a green padlock.

My third question is about mod rewrite. Is it enabled by default?

Yes, it is. You can double check by running the following command, which should return output:

ls /etc/httpd/modules | grep mod_rewrite

i am trying to migrate a cs-cart website from cpanel and despite i can visit home page after migration all internal pages give me an not found error and i think that it is an mod rewrite and htaccess issue.

To find out what happens exactly, you need to look at the logs. It can be anything. When you look at the logs you will have an idea about what to fix.

You can look at the logs under current virtual server by going to Logs and Reports sub-menu in left navigation.

gl

Thank you for your reply,

"Yes, however, you are already connected using SSL, which is good, as it's secure but it's just self-sign certificate that gives a warning in the browser. When you install Let's Encrypt, this warning will go away, and you will see a green padlock."

I think i have already Let's Encrypt installed. Please check the second attachment

"To find out what happens exactly, you need to look at the logs. It can be anything. When you look at the logs you will have an idea about what to fix.

You can look at the logs under current virtual server by going to Logs and Reports sub-menu in left navigation."

I delete this virtual server. I will make another try and i will inform you.

Thank you