plesk

Install additional node versions in Plesk Onyx

≯℡__Kan透↙ 提交于 2019-12-22 10:35:29
问题 This a guidance not a problem to solve, to help those which have the same issue I had Enable Node support in Plesk Onyx: Install the "Node support" simply from your "update and updates" Plesk interface. Go to your "Node extension" page enable/disable the node versions you need In case you need additional node versions which does not come with the default node support installation: Install the Node Version Manager on your server Install the versions you need e.g. nvm install v4.8.4 Copy paste

Modify document root for nginx proxy under plesk

余生长醉 提交于 2019-12-22 09:28:25
问题 I use Plesk with nginx as proxy, which is working good. I installed laravel php framework on a subdomain. the framework provides a direcotry "public" for public files, so I changed document_root with a custom vhost.conf file this way: DocumentRoot "/var/www/vhosts/example.com/laravel.example.com/public" Now apache is aware of this, PHP files working without any problems, but not the static files which are handeled via nginx, I get 404 not found because I must also reconfig the document_root

How to remove unwanted WWW-Authenticate headers

旧时模样 提交于 2019-12-22 08:10:06
问题 From an MVC app, I'm sourcing an iCal subscription with authentication following the answer to this SO question: Serving an iCalendar file in ASPNET MVC with authentication The iCal stream is being created dynamically from events in the DB using the DDay.iCal library. This solution works fine on the local development server: both OSX Calendar and Outlook can subscribe to and receive updates from the app. However, on the shared server at my web host, the authentication fails for both Calendar

Why can't solr 1.3.0 install using CentOS, plesk 9.2.1 and tomcat 5.5?

和自甴很熟 提交于 2019-12-21 05:38:09
问题 Ok I just setup a dedicated server for my client through his hosting provider. They have plesk installed on there (version 9.2.1) and one of the caveats of this dedicated server is that if i do anything OUTSIDE of the control panel (i.e. use SSH) for any task they do not guarantee support for that software component. That's fine because I would rather use the control panel to do it anyway since all i have to do is upload a war file to install the servlet. Here is the issue though, after

How to fix FastCGI timeout issues in Plesk?

扶醉桌前 提交于 2019-12-21 04:19:29
问题 PHP support is currently set to: run as Fast CGI. I keep getting these errors in my server log: mod_fcgid: read data timeout in 45 seconds Premature end of script headers: index.php Should be quick fix I think, but I cant find the file to edit. Is this something I can change from Plesk. Anyone know how to increase the timeout? 回答1: In Plesk 12.x and similar go to Web Server Settings and set the following directives: Additional directives for HTTP & HTTPS FcgidBusyTimeout 300 FcgidIOTimeout

How to add a new node.js version for the Node.js Manager on Plesk?

南楼画角 提交于 2019-12-20 17:26:13
问题 Plesk Onyx supports Node.js. My Node.js Manager (from the Plesk extensions) currently supports two nodejs Versions. Installing a new version with the centos package manager yum did not change anything. Copying one of the versions, that are installed and putting them to a new folder e.g. 4/ in the directory structure used by the Node.js Manager also did not lead to results. I need the version Node 4.6.2 for Meteor 1.4.x applications. Thank you. 回答1: Enable Node support in Plesk Onyx: Install

Increase upload size on Nginx

拥有回忆 提交于 2019-12-14 04:01:56
问题 I keep getting "The connection was reset" when trying to upload a large file (around 135MB). When I look at the "last_nginx.conf" of the website conf directory it says "client_max_body_size 128m;" I assume that is the upload limit, so how/where do I change it? It says not to bother changing the value in that file because it will only be overwritten. Btw Nginx is enabled via Plesk admin panel. 回答1: Answer to change vhosts nginx file is this : mkdir /usr/local/psa/admin/conf/templates/custom

php compiles timezone Europe/Berlin like UTC

人盡茶涼 提交于 2019-12-14 02:10:03
问题 I've been struggling with a weird problem today. For some reason my server pretends that the timezone 'Europe/Berlin' is UTC (it should be UTC+1). If I set the timezone to 'Europe/Brussels' for example, it converts the time correctly. I've created some dummy code to test my server and on an online compiler. While the compiler works (I've used http://sandbox.onlinephpfunctions.com/), my server persists to have this issue. Here's the code: <?php $time = 'now'; $timezone1 = 'Europe/London';

WWW Redirects to HTTP [closed]

独自空忆成欢 提交于 2019-12-13 22:42:16
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 6 years ago . My website (which content is an empty, standard apache welcome screen) tries to redirect from www.example.nl to example.nl I do not have an .htaccess setup, just basic Plesk configuration. Thanks. 回答1: I suppose you have Plesk 11.5 on Linux. Check Hosting settings of your domain and find "Preferred

Postfix: Relay mails from specific domain

随声附和 提交于 2019-12-13 10:26:03
问题 I'm using postfix in combination with Zarafa as Groupware (local server) and import mails from an external server to a mailbox on my local server. I do this, because of restricted resources on the external server. So incoming mails at the external server are redirected to my local server - but sending mails is done on the local server. The problem is, that the rx-Record of the domain of the external mail server does not point to my server - so my send mails are marked as spam, especially in