plesk

How do I use Let’s Encrypt with GitLab under Plesk on Subdomain?

Deadly 提交于 2019-12-11 12:49:21
问题 I got GitLab up and running, but currently it doesn't use SSL. I use the Let's Encrypt Plesk Extension to get free SSL Certificates in general. This is what my setup looks like: Plesk v12.5.30_build1205150826.19 os_Ubuntu 14.04 GitLab 8.8.5 Let's Encrypt Plesk Extension v1.6 Release 1 Plesk Subdomain: git.my-domain.com Plesk Apache & nginx Settings for git.my-domain.com: Additional directives for HTTP : <Location /> ProxyPass http://IP-of-my-domain:9999/ ProxyPassReverse http://IP-of-my

How to upload files to IIS Virtual Directory?

人走茶凉 提交于 2019-12-11 08:05:12
问题 I'm writing a .NET application that needs to upload files. I have presentation, service and data layers. Files get submitted in the Presentation layer (MVC), and then saved by the Data layer. Currently I'm saving files to the file system - C:\SomeDirectory, but I need to save them within the virtual directory in IIS which is managed by Plesk. Did anybody come across any resources explaining how to save files to the virtual directory in IIS? Should I be uploading files to virtual directory at

How can i enable libmongoc ssl?

浪尽此生 提交于 2019-12-11 07:32:00
问题 Im using plesk 12 and PHP7 on centos 7. How can i enable libmongoc ssl on my server? 回答1: Try to compile it with yum install git plesk-php70-devel make gcc openssl-devel git clone https://github.com/mongodb/mongo-php-driver.git cd mongo-php-driver/ git submodule update --init /opt/plesk/php/7.0/bin/phpize ./configure --with-php-config=/opt/plesk/php/7.0/bin/php-config --with-mongodb-ssl=openssl make cp /root/mongo-php-driver/modules/mongodb.so /opt/plesk/php/7.0/lib/php/modules/ plesk bin php

Permission for PHP on Windows Server

瘦欲@ 提交于 2019-12-11 05:59:00
问题 I was trying to use imagejpeg() and it's failed. is_writable() function returns false . So, I assume the issue is with permissions. I have a windows server so chmod() won't work. Plesk is installed on the server and I have changed all the permissions to allow but still is_writable() is false . The server is running Windows Server 2008 R2. I contacted the hosting company and they recommended this: https://technet.microsoft.com/en-us/library/cc772196%28v=ws.11%29.aspx Would this help...? Any

ASPNetCore MVC Routing Let Server Handle Specific Route

我怕爱的太早我们不能终老 提交于 2019-12-11 00:16:00
问题 This is a fork of a previous, unresolved question On a remote web host, I am a user. It is a shared hosting environment. The host uses Plesk, and I am trying to fix my AspNetCore application to allow Let's Encrypt's installation and automatic renewal. I am positive the AspNetCore application is interfering with the Let's Encrypt installation and automatic renewal, since I can create an empty site and install Let's Encrypt certs with no trouble, and when I create a fresh site with a

ASP.Net application interfering with remote host Let's Encrypt (via Plesk) installation?

三世轮回 提交于 2019-12-10 18:50:14
问题 So, to install Let's Encrypt SSL cert, I head over to my Plesk account, pick a domain or subdomain and click on Let's Encrypt then I only have a field to put in an email address, and a button to install. To install, Let's Encrypt sends my site an HTTP request: GET /.well-known/acme-challenge/n9cD8Lpv-woEU73NhCUdFyqOYMc5hrANF_byoiaYrZc - HTTP/1.1 If I create a fresh 'site' through Plesk, and install the cert, that GET request get's a nice 200 response and the SSL cert installs fine. However, I

IIS 8 & Plesk web.config to enable parent paths and error reporting

不打扰是莪最后的温柔 提交于 2019-12-10 15:08:24
问题 I'm moving a classic ASP site from shared hosting IIS 6 site to shared IIS 8 host that uses Plesk, so the only control of IIS is via a few settings in Plesk, or web.config. Plesk has settings to enable ASP support (which I have done) and ASP.NET support (tried enabled and disabled, but this is classic ASP so should not matter). I have been unable to get enableParentPaths to work. I also cannot get detailed errors displayed. My initial web.config probably has stuff only relevant to ASP.NET,

ssh2_exec() wont change directory with “cd”

你。 提交于 2019-12-10 13:11:30
问题 I have a problem with ssh_exec() refusing to execute the "cd" command. If I log into the server directly and execute the command, it works fine, so I don't think the problem is with my command. My code is as follows: $str = ssh2_exec($sshStream, 'cp /var/www/compressed.tar.gz /var/www/vhosts/demo-domain1.com/httpdocs/'); $errstr = ssh2_fetch_stream($str, SSH2_STREAM_STDERR); stream_set_blocking($str, true); stream_set_blocking($errstr, true); echo "Output: " . stream_get_contents($str); echo

Domain Name Does Not Pointing To Installed Java WebApplication In parallel plesk, Remove Port Number

独自空忆成欢 提交于 2019-12-10 11:44:37
问题 I have installed One Java Web Application via Plesk 11.0.4 on my server. Now I want My domain name to point my web Application. My address 'www.domain.com' shows blank page. As I installed my Application via plesk , I can Access it on 'www.domain.com:9080/webapp' address. But I want to access my web application from my domain name Like www.domain.com will access my application. My webapp application's root path is : '/usr/share/tomcat6/work/Catalina/PSA/webapp' 回答1: This goes for Plesk 11.x:

Domain Name Does Not Pointing To Installed Java WebApplication In parallel plesk, Remove Port Number

孤街浪徒 提交于 2019-12-09 06:50:29
I have installed One Java Web Application via Plesk 11.0.4 on my server. Now I want My domain name to point my web Application. My address 'www.domain.com' shows blank page. As I installed my Application via plesk , I can Access it on 'www.domain.com:9080/webapp' address. But I want to access my web application from my domain name Like www.domain.com will access my application. My webapp application's root path is : '/usr/share/tomcat6/work/Catalina/PSA/webapp' This goes for Plesk 11.x: On the page where you can choose the web app, the 'install' button actually has a pulldown menu to its right