Menu
  • HOME
  • TAGS

SetEnv appends an = sign after the value

php,apache,.htaccess,magento,plesk

No need to give assignment operator , it should be SetEnv MAGE_RUN_CODE defaultstore ...

POODLE SSLv3 Vulnerability still testing failed

openssl,plesk,poodle-attack

Please use following method: Set disablesslv3 parameter: mysql -uadmin -pcat /etc/psa/.psa.shadow -Dpsa -e "insert into misc values('disablesslv3', 'true')" Regenerate configs: /usr/local/psa/admin/bin/httpdmng --reconfigure-all Check results: cat /var/www/vhosts/system/*/conf/last_nginx.conf | grep ssl_protocols ...

Unable to ssh with user created under Plesk (Amazon Ec2)

linux,ubuntu,amazon-ec2,plesk

Okay so I found the solution. First I had to login as the main user (for me it was ubuntu) using the pem key provided with Amazon. Then I had modify this file: sudo nano /etc/ssh/sshd_config and changed PasswordAuthentication no to PasswordAuthentication yes Then I had to restart the ssh...

Correct way of updating PHP/MySQL on a running Plesk 11.5 server?

php,mysql,linux,centos,plesk

Just for experiment, I've tried to upgrade PHP and MySQL to this version. I've only get issue with ODBC connector: ODBC error #01000: [unixODBC][Driver Manager]Can't open lib '/usr/lib64/libmyodbc5.so' : file not found ODBC error #08S01: [unixODBC][MySQL][ODBC 5.3(w) Driver]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) At installing Plesk...

mysql cpu usage is more than system cpu

mysql,cpu,cpu-usage,plesk

Remeshx, The mysql load you see in "top" is total load of all mysql threads on all cores. If you have 24 core system, you can approximate the single core load by dividing 200%/24 which gives ~8% load, which is not bad at all. If you want to have detailed...

Payment Gateway Response Page Displays empty values in VPS Hosting

php,windows,payment-gateway,vps,plesk

I Found The Solution I Was Using The Response Domain URL has www.abc.com/response.php Where in the original URL was abc.com/response.php when i removed www. i am getting the response. ...

Getting nginx 404 error on uploaded files

nginx,plesk

It looks like you have upload and access files in one place but checking log in another place. Are you sure you have no issues with domain name resolving? Also it can be issue with virtual host - when you access file it overtaken by some other virtual host. It...

Debian Plesk Server: MySQL doesn't start

mysql,debian,plesk

As the message says, you need to assign the variable wait_timeout a value in the mysqld section of your configuration file. For instance wait_timeout=60 But if its passed as a parameter when connecting then simply write --wait_timeout=60 https://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_wait_timeout...

Disable Parallels Plesk Panel admin account

security,admin,panel,plesk,parallels

You can't change admin name in Plesk. But you can use "Restrict Administrative Access" or fail2ban "plesk-panel" jail features for avoiding bruteforce attacks on your Plesk Panel.

Migrating emails in Plesk

plesk

I created all the subscriptions on the new server and then using the migration manager, when I migrated the sites email settings they were sorted into the relevent subscriptions.

Activate SSL-Certificate on Domain via Plesk XML API

xml-rpc,plesk,zend-xmlrpc

Here the request example: <packet> <webspace> <set> <filter> <id>34</id> </filter> <values> <hosting> <vrt_hst> <property> <name>certificate_name</name> <value>some_existed_certificate_name</value> </property> </vrt_hst> </hosting> </values> </set> </webspace> </packet> Main rule is that if in CLI it's an "subscription" setting, than we go to "Managing Subscriptions (Webspaces)" -> "Setting Subscription...

How to set up a cron task in Plesk every 15 minutes?

cron,task,plesk

It's not quite clear what do you mean under "executing http address" But you can try this setting ...

Downloading files outside the webroot

php,apache,plesk

After much trial and error, I appear to have solved the problem. The issue was in using jQuery/Ajax. When I changed the way the downloadscript.php file is accessed to a direct $_GET request from the link on the page, it worked a treat. Anyway, thanks for your help everyone! Chris...

Unable to Upload file on the tomcat shared server with war file deployment.

java,tomcat,servlets,plesk

How about to start from full path like <param-value>/var/www/vhosts/subscription.name/httpdocs/img/</param-value> ...

How to get the expiration dates of all domains from a [MySQL] Plesk database?

mysql,plesk

Solved: select d.`name`, l.* from SubscriptionProperties sp left join Subscriptions s on s.id = sp.subscription_id left join domains d on d.id = s.object_id left join Limits l on l.id = sp.value where sp.`name` = 'limitsId' and l.limit_name = 'expiration' order by value; ...

Not able to connect to DB when site uploaded to Plesk Panel

php,mysql,plesk

Apparently in the database section there is a column named Database server which gives the address of the database, which in my case simply was not localhost, 127.0.0.1 or anything like that! I changed the address and off it worked!...

Plesk 12 Subscription “shell” via XML API

xml,plesk

Check this answer to define shell at creating domain: plesk api shell access Try this query to set shell for existed domain/subscription: <packet> <webspace> <set> <filter> <name>example.com</name> </filter> <values> <hosting> <vrt_hst> <property> <name>shell</name> <value>/bin/bash</value> </property> </vrt_hst> </hosting> </values> </set> </webspace> </packet> ...

Facebook pulls Plesk default page in web scrape

facebook,facebook-graph-api,dns,plesk,server

I did already have the specified Meta Tags with the necessary open graph properties. Turns out that the DNS was not pulling in properly. Not sure if the server was configured properly or not. What I ended up doing is taking the DNS management away from the server and putting...

Send / Receive Emails through external VServer with Plesk?

imap,plesk,cname,mail-server,virtual-server

Here how to Receive emails on Plesk server: Assume that your "Domain (GoDaddy)" = domain.tld In "Domain (GoDaddy)": create new DNS record for MX create new A record to point MX on plesk server IP Where 1.2.3.4 - it's IP of your plesk server In Plesk create new subscription or...

%2B in filenames on plesk server files not showing

plesk

%2B would get decoded into a + but a + would get decoded as a space. Are you decoding it twice accidentally at all?

Plesk Api to create a new domain with Hosting type

php,plesk

To create by hosting plan: <packet> <webspace> <add> <gen_setup> <name>ezb2550.info</name> <ip_address>10.64.2.30</ip_address> </gen_setup> <plan-name>Default Domain</plan-name> </add> </webspace> </packet> To create with custom virtual hosting settings(pay attention for "vrt_hst" it's a hosting type): <packet> <webspace> <add> <gen_setup> <name>ezb2550.info</name> <ip_address>10.64.2.30</ip_address>...

How to set NO-REPLY email

plesk,parallels

Actually nothing need to do in Plesk, just set(send) emails with "From:" field of non-existent email address of your domain, like: [email protected] or [email protected] or something other. When somebody will sent mail to [email protected] it will be rejected automatically, because of default Plesk settings: ...

open_basedir restriction - php.ini against Plesk CentOS 6

php,apache,parent,plesk,open-basedir

Does your domain's PHP handler works as FastCGI? You can just change domain's PHP settings "open_basedir" to /var/www/vhosts{/}{:}{WEBSPACEROOT}{/}{:}{TMP}{/} After this in file: /var/www/vhosts/system/domain.tld/etc/php.ini you'll get: open_basedir = "/var/www/vhosts/:/var/www/vhosts/domain.tld/:/tmp/" ...

Mcrypt install failed on ubuntu 14 and php55, plesk

ubuntu,plesk,mcrypt

I got it working by using. The hint using the universe repository failed. sudo apt-get update && sudo apt-get install python-software-properties sudo apt-get update sudo apt-get install php5-mcrypt ...

SMTP (port 25) Plesk 12 on CentOS 7 “None of the authentication methods supported by your server”

smtp,port,plesk,centos7,smtp-auth

Server doesn't provide auth, it may be because of "smtpd_tls_auth_only = yes" in /etc/postfix/main.cf. "smtpd_tls_auth_only = yes" forbid authentication on non-secure connection like port 25. You can just change it to "no", or try using secure port 465 in Android Mail Client. It's quite easy to check your SMTP server...

Change domain expire-date on all domains on Plesk 11 API

dns,plesk

via API-RPC: # cat x.xml <?xml version="1.0" encoding="UTF-8" ?> <packet version="1.6.3.0"> <webspace> <set> <filter/> <values> <limits> <limit> <name>expiration</name> <value>-1</value> </limit> </limits> </values> </set> </webspace> </packet> # curl -kv -XPOST -H "HTTP_AUTH_LOGIN: admin" -H "HTTP_AUTH_PASSWD: password" -H "Content-Type: application/xml" -d @x.xml https://localhost:8443/enterprise/control/agent.php via CLI: # for...

Wildcard SSL Certificate on Wildcard Subdomain in Plesk - wrong certificate served to browser

ssl,https,subdomain,plesk,wildcard-subdomain

How about create same directive for nginx? cat /var/www/vhosts/system/domain.tld/conf/vhost_nginx.conf server_name *.domain.tld; Actually all this can be done from Plesk GUI: ...

Symfony2 / Plesk change php.ini location

php,symfony2,plesk

Plesk's PHP binary /opt/plesk/php/5.6/bin/php uses it's own /opt/plesk/php/5.6/etc/php.ini, not default. If something uses default php.ini it means that you use default php binary(/usr/bin/php). Default php binary call: ~# php --ini Loaded Configuration File: /etc/php.ini Plesk PHP binary call: ~# /opt/plesk/php/5.6/bin/php --ini Loaded Configuration File: /opt/plesk/php/5.6/etc/php.ini In your server command/script you...

The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons)

asp.net-mvc,visual-studio-2013,asp.net-mvc-5,web-hosting,plesk

Place The below code <compilation debug="true" targetFramework="4.0"> instead of <compilation targetFramework="4.0" defaultLanguage="c#"/> hope it's works This Link actually helps you to identify any sort of issues if it is not displayed in the server and thus I [OP] was able to fix my problem by identifying the issue. Below is...

plesk when upgrading php, will this break everything?

php,centos,server,vps,plesk

Make sure that you have CentOS6 or 7 and latest Plesk microupdates installed. After that you will be able to safely use Multiple PHP feature in Plesk - http://kb.odin.com/125146

CakePHP on Shared Windows Plesk Server

cakephp,plesk

Here is how you do it in Cakephp 2.x Once you have setup your webspace you don't need to change or spoil the php configuration (as long as php is set as default for this webspace) and when you create a web_space in Plesk, Plesk server normally does every thing...

System.UnauthorizedAccessException: Access to path is denied

asp.net,iis-7,plesk,application-pool,unauthorizedaccessexcepti

Try to set "Additonal write/modify permissions" at "Hosting settings" of your domain: ...

Manage subscriptions on plesk12 web pro edition

plesk

First create subscription "User role" with "Create and Manage Databases" permission at Subscriptions > Your subscription > Users > Roles Than create subscription user with this role and access to desired subscriptions: Now user you have created can login into Plesk using username and password and find webadmin at "Databases"...

How to make plesk subdomain reachable

wordpress,subdomain,plesk

I think you are using external DNS server and due to that you are getting this issue. I will suggest you please check your main domain DNS zone and update the correct "A" record for your sun-domain and once you update it correctly you will not get any issues with...

Nginx CodeIgniter remove index.php in the URL

codeigniter,nginx,plesk

I have finally solved a rewrite problem. What it's important, Plesk generates default parameters in Nginx configuration file, any changes inside that file is temporary. To remove index.php in CodeIgniter projects, just add this code for each project in the Plesk>Domains/example.com/Web Server Settings: location /category/subcategory { try_files $uri $uri/ /category/subcategory/index.php;...