Zera Installation Guide for Plesk
Steps to install Zera on a Plesk domain.
First, you must be sure to work has Administrator or you won’t be able to configure some features we are going to explain in this document.
Now you need to upload the files you got before from the Git repository. You can upload them directly through Plesk’s own file manager, but we recommend to create an FTP access to upload your files since it’s way faster.
Also, in this case you can ignore .git file and the folder named install.
Once the files are uploaded you must set index.pl and install.pl permissions to 755. You’ll find the menu to do this by clicking on the list button of each file to reveal the option Change Permissions.
Next, you need to configure Apache.
From the main page go to Apache & nginx Settings and set the set Handlers to Set custom value and write cgi-script .pl, and then go to Aditional Apache directives and write in both Additional directives for HTTP and Additional directives for HTTPS blank spaces:
RewriteEngine On
RewriteRule ^$ /index.pl?Controller=Url&View=home [L,QSA]
RewriteRule ^/$ /index.pl?Controller=Url&View=home [L,QSA]
RewriteRule ^/([A-Z][A-Za-z]+)$ /index.pl?&Controller=$1 [L,QSA]
RewriteRule ^/([A-Z][A-Za-z]+)/([A-Z]\w+)$ /index.pl?&Controller=$1&View=$2 [L,QSA]
RewriteRule ^/([A-Z][A-Za-z]+)/([A-Z]\w+)/(\w+)$ /index.pl?&Controller=$1&View=$2&SubView=$3 [L,QSA]
RewriteRule ^/([A-Z][A-Za-z]+)/([A-Z]\w+)/([\w\-]+)/([\w\-]+)$ /index.pl?&Controller=$1&View=$2&SubView=$3&UrlId=$4 [L,QSA]
RewriteRule ^/([\w\-]+)$ /index.pl?&Controller=Url&View=$1 [L,QSA]
RewriteRule ^/([\w\-]+)/([\w\-]+)$ /index.pl?&Controller=Url&View=$1&SubView=$2 [L,QSA]
Before keep going, go back to the main page and enter in Hosting Settings and enable CGI Support or you’ll only see a Forbidden screen.
Now it’s time to create a database.
In the domain's main page go to Databases (you should see it in a right column), and then click on the Add Database buton.
Here you must give your database a name and create a user for it. Be sure to keep this info in hand because you’ll need it soon.
Once the database is ready you can go to your web browser and login to Zera by writing