plesk

How to deploy Flask project on Plesk subdomain

孤人 提交于 2020-04-13 16:59:42
问题 I want to ask if there is a way to deploy my Flask project to a Plesk subdomain. The site is going to be created with wordpress inside Plesk. Also, i would like to have database support. 回答1: I was struggeling with a similar issue. What i did was the following: Installed nginx In the subdomain -> Apache & nginx Settings, make sure to disable the proxy-mode under the nginx settings add the following to Additional nginx directives: location / { # Define the location of the proxy server to send

Neo4j (3.4.17, 3.5.13, 4.0.0) in docker on plesk doesn't use provided SSL certificates in /ssl but tries to delete them and make its own self-signed

我是研究僧i 提交于 2020-02-06 01:42:12
问题 This configuration has worked for me at some point but simply stopped after a brief VPS suspension due to no automatic renewal being enabled. As per documentation, I'm providing a neo4j.cert and neo4j.key in a folder that I then mount on the container for /ssl. Unfortunately, neo4j will be stuck on 'cleaning up self-generated ...' and throw out 'permission denied' unless I set 775 permissions on that folder so it can write & execute as well (group policy). If I do set to 775 things work but

This program is blocked by group policy. in godaddy windows hosting

生来就可爱ヽ(ⅴ<●) 提交于 2020-02-04 12:54:28
问题 I am trying to execute a .exe file through Scheduled Tasks in Godaddy but when this task is run there is an error of "This program is blocked by group policy". Application is a C# console application. 回答1: In the web.config, comment out everything within <system.codedom> . GoDaddy blocks it. <!--<compilers> <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1

This program is blocked by group policy. in godaddy windows hosting

橙三吉。 提交于 2020-02-04 12:52:28
问题 I am trying to execute a .exe file through Scheduled Tasks in Godaddy but when this task is run there is an error of "This program is blocked by group policy". Application is a C# console application. 回答1: In the web.config, comment out everything within <system.codedom> . GoDaddy blocks it. <!--<compilers> <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1

How make Tomcat run as WebServer in WindowsServer2008 Godaddy Virtual Private Server?

天大地大妈咪最大 提交于 2020-02-02 15:26:26
问题 I have just bought Godaddy VPS, WindownServer 2008 with Plesk Parallels Panel. I did setup ns1.myDomain.com, ns2.myDomain.com At the beginning When typing the IPaddress (the one Godaddy assigned to my VPS) into browser then I can see IIS Informaion Server Page so it mean the current WebServer is IIS Window. But I don't want Window webserver, I want Tomcat Webserver as a default WebServer. Ok, then I did something, and now then typing my IPAdress, I saw a "Welcome to Parallels!" page, this is

How to point Google Cloud DNS to Plesk DNS

核能气质少年 提交于 2020-01-25 10:15:15
问题 I'm new at this, I have installed Plesk in a google compute engine without using the easiest way through marketplace. My problem is with the DNS, to register my domain in registro.br it requires at least two different IPs, that Google DNS provides, but Plesk don't, so I'm copying manually all the DNSs from Plesk to Google, that takes a while, other problem is with renewing my SSLs automaticly, since my main DNS isn't from Plesk, it can't renew and I need to do that manually Is there a way

How to point Google Cloud DNS to Plesk DNS

﹥>﹥吖頭↗ 提交于 2020-01-25 10:15:08
问题 I'm new at this, I have installed Plesk in a google compute engine without using the easiest way through marketplace. My problem is with the DNS, to register my domain in registro.br it requires at least two different IPs, that Google DNS provides, but Plesk don't, so I'm copying manually all the DNSs from Plesk to Google, that takes a while, other problem is with renewing my SSLs automaticly, since my main DNS isn't from Plesk, it can't renew and I need to do that manually Is there a way

Creating an A-Record with Plesk API

自作多情 提交于 2020-01-16 18:46:35
问题 I modified the example PHP script for the Plesk API enough that I think it SHOULD be working to create an A-Record DNS, however whenever I run the script it simply times out after about 2-3 minutes. The Parallels Development forums seem to be a ghost town, so I am hoping maybe someone here might be able to spot the issue. <?php /** Reports error during API RPC request */ class ApiRequestException extends Exception {} function DNSCreateRequest() { $xmldoc = new DomDocument('1.0', 'UTF-8');

php shell_exec multiple commands at once in background

两盒软妹~` 提交于 2020-01-14 09:22:29
问题 I have a problem in php/linux, described below: I have to execute a linux command through shell_exec (plesk cli command subscription webspace-off). The problem is when i do this from php it works, but restarts apache, that resulting in a blank page, while apache restarts. To get rid of the problem i have to call that shell_exec in background, with a delay (Expected result: the web page loads, and after 4 sec. runs the linux script.) I have done some tryings like: shell_exec("sleep 4 && /var

How to connect MSSQL from PHP 7, Plesk 12.5 installed on CentOS 7

末鹿安然 提交于 2020-01-07 00:36:31
问题 My Plesk 12.5 installed on CentOS 7 and supporting multiple php versions in same time. I have successfully installed pdo_dblib driver for php version 5.4.16. Does anybody knows how to install similar driver for php 7. I have PDO enabled on php7 and support PDO drivers mysql, odbc, pgsql, sqlite. How I can add mssql. I found this links library I need php70w-pdo_dblib but how I can installed? question on the plesk site 回答1: Thanks everybody for the help. I have resolved my problem by simply