Plesk 11.x / Linux :: Recreate Vhost System Directory?

Jul 13, 2015

My /var/www/vhosts/system directory was accidentally deleted. The actual vhost directories are unharmed, e.g. /var/www/vhosts/example.com. Is there a non-destructive script I can run to re-initialize the system directory? I am on Plesk 11.5.30.

View 2 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Activating WebDAV In Specific Domain - No Vhost Directory

Jul 14, 2014

Want to activate webDAV in a specific domain with a v_host conf file, but do not have a /conf directory in the domain path. How can I manage the this?

View 2 Replies View Related

Plesk 11.x / Linux :: PHP Not Loading For One Vhost

Feb 19, 2015

We have strange problem with our plesk 11.0.9 Update #62.

Have only 10 domains hosted and all except 1 is working fine.... This particular domain doesn't run PHP scripts at all and when we try to browse a php script from browser, the file starts downloading. I have tried to compare the php settings from other working vhosts but and found no change at all... tried with

/usr/local/psa/admin/bin/httpdmng --reconfigure-domain domainname-tld

/usr/local/psa/admin/bin/httpdmng --reconfigure-al

Also tried to create the vhost but no gain...

Also I tried to change the PHP setting from control panel so that the php file would be generated , but every time I reset the value, it reverts back and no value is preserved.

View 1 Replies View Related

Plesk 12.x / Linux :: CLI Vhost Setup Example?

Nov 22, 2014

I have to move a lot of customers from old home-grown server setup to a plesk panel powered server.I want to use the CLI to do this and wondered if there was a tutorial showing how to setup the customer and add the subscription/hosting plan for that customer?

I looked over the docs and tested them, but the service plan never shows that hosting is added.

# ./customer --create JDoe -name "John Doe" -passwd sample -country US -notify false
# ./subscription --create example.com -owner admin -service-plan "Default Domain" -ip 192.168.1.100 -login JDoe -passwd "user pass"

I get the email saying that the do moan was setup, but the domain does not show that hosting is affiliated with it.

View 5 Replies View Related

Plesk 12.x / Linux :: Host Template Only For One Vhost

Aug 13, 2014

edited /usr/local/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php and add this include hhvm.conf; and work but it's possible to edit this setting only for one vhosts? I must enable only for one vhost because i have some php script not work with hhvm

View 3 Replies View Related

Plesk 12.x / Linux :: Reconfigure Vhost Failed

May 22, 2015

I getting this error after I run the command: ~# /usr/local/psa/admin/bin/httpdmng --reconfigure-all

Code:

PHP Deprecated: Comments starting with '#' are deprecated in /opt/psa/admin/conf/php.ini on line 25 in Unknown on line 0
Error occured while sending feedback. HTTP code returned: 502
Error occured while sending feedback. HTTP code returned: 502
Execution failed.
Command: httpdmng
Arguments: Array

[Code] ....

3 sites on this server hosted with different subscriptions and conditions. So the host work yet but I getting a red banner on the Subscription menu.

About my system:

os: debian 7.8 64bit
plesk: 12.0.18 Update #47

View 1 Replies View Related

Plesk 11.x / Linux :: Permission Correctly In Vhost?

Nov 25, 2014

I have domainA and domainB. domainA hosting files, for security ALL browser access should denied.. EXCEPT domainB make in php call with readfile() to a file on domainA. This should allowed.

domainB => readfile(http://domainA/myfile) => allowed ... all other access should denied.

So I set in vhost of domainA this:

<DirectoryMatch "^/var/www/vhosts/domainA/httpdocs/folder/">
Order deny,allow
Deny from all
Allow from 127
Allow from server-ipv4
Allow from server-ipv6/128
Allow from ::1/128
</DirectoryMatch>Click to expand...

View 3 Replies View Related

Plesk 12.x / Linux :: 12.0.18 - How To Set Permissions To 770 By Default When Create Vhost

Oct 5, 2014

When a customer use the wordpress auto installation tool, all work ok.

But, when the customer try to install wordpress manually (Uploading by FTP), it returns different permissions errors.

Example: "wp-config.php" cant write .

I compared the permissions of both vhosts (WP-Auto-install and WP-Manually-Install), and have totally different permissions.

WP-Auto-installed : /httpdocs = 770
WP-Manually : /httpdocs = 750

How I can set permissions to 770 by default when create a vhost? to avoid the customer having to do it manually.

View 4 Replies View Related

Plesk 12.x / Linux :: Moved Vhost Location - Some Sites Not Working

Nov 14, 2014

I have a new DS with Plesk 12. I needed to change the default /var/www/vhosts location to a different physical drive, with more capacity.The larger disk is mounted as /disk1, so I created a folder here called vhosts, moved everything from the existing /var/www/vhosts directory, then I mounted /disk1/vhosts as /var/www/vhosts. See my fstab output below.

I then edited /etc/psa/psa.conf to update the VHOSTS location as per [URL] ...., and restarted Apache, MySQL and reconfigured domains.I thought all was OK, and that Plesk would just see /var/www/vhosts as normal, but I proceeded to migrate domains from another server to this box, and found that whilst some sites were working OK, many were not.

I was finding that existing config directives that used <Directory> were being ignored or seemed to disappear.All sites with .htaccess files stopped workingWe would get Apache / PHP errors saying that files could not be accessed as they were not in the allowed path for the domain. Plesk seems to be logging, reporting, and handling files as if they were in /disk1/vhosts, not the usual location. I have got sites working by adding /var/www/vhosts/ domain and /disk1/vhosts/domain to the PHP Settings page as allowed paths.

I have checked in the httpd.conf for each domain, and they all list the site document root as /disk1/vhosts/domain, not /var/www/vhosts/domain.It's as if Plesk is ignoring the change in /etc/psa/psa.conf.

All I want is for Plesk to think that /var/www/vhosts is the document root for all domains, and not do anything with /disk1/vhosts. I have many sites with hard coded links to included files in /var/www/vhosts/domain, and I dont want to have to rewrite them all to use /disk1/vhosts.

I have had to stick HTTP configuration directives on nearly every site, and add these entries to the allowed paths box, which obviously I should not have to do. Can any Plesk / Linux gurus tell me what I need to do to fix my problem, get sites working in /var/www/vhosts, and have Plesk allow .htaccess files to work without me having to add "AllowOverride All" to every domains??

# /etc/fstab
# Created by anaconda on Tue Oct 14 05:22:57 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#

[code]....

View 2 Replies View Related

Plesk 12.x / Linux :: Advanced NginX Directives For Vhost (memcached)

Sep 19, 2014

You can edit the nginx directives for the desired vhost at the webserver config. However, it seems like that you can only add basic directives, but not something like that:

Code:

http {
# memcached servers
upstream memcached-servers {
server 127.0.0.1:11211;
}

[Code] ....

How can I do that?

View 4 Replies View Related

Plesk 11.x / Linux :: File System Loop Detected

Sep 19, 2012

I do not know how this happened though. When I use find command on shell, I got the following error.

find: File system loop detected; `/var/named/chroot/var/named' is part of the same file system loop as `/var/named'.

It is minimal CentOS6.3 install with plesk 11.

View 15 Replies View Related

Plesk 12.x / Linux :: Enabled Rkhunter To Check System

Sep 20, 2014

I enabled rkhunter in Plesk 12 to check the system weekly. I get a warning now, which I never got in older versions of Plesk:

The current hash function (/usr/bin/sha1sum) or package manager (DPKG) is incompatible with the hash function (Unset) or package manager (Unset) used to store the values. Debian 7.6 x64

View 6 Replies View Related

Plesk 12.x / Linux :: File System Loop Detected

Jun 28, 2015

in CENTOS 6.6 / PLESK 12 when I use the find command I get this notice:find: File system loop detected; "/var/named/chroot/var/named" is part of the same file system loop as "/var/named".

View 2 Replies View Related

Plesk 11.x / Linux :: Query List Of System Users Using API RPC

Sep 9, 2014

Is it possible to query for a list of system users using the API RPC? I know it's possible with a MySQL query

Code:
select id, login, account_id from sys_users order by login;

I've searched through the API RPC manual, but I don't see a way to do this. I always have to specify a filter, I can't find a way to just query for all users.

View 1 Replies View Related

Plesk 12.x / Linux :: Unable To Migrate All Subscriptions Of Old System Into New One

Oct 13, 2014

I got a new Server with Plesk 12.0.8 (old one has 11.5.30). Now I have to migrate all Subscriptions of the old System into the new one.

I tested it with one item and all time I get this warning:

Warning:SSL certificate "default certificate" Execution of /opt/psa/admin/plib/api-cli/certificate.php --create default certificate -cert-file /opt/psa/PMM/tmp/pmm-cert-GzVcei -key-file /opt/psa/PMM/tmp/pmm-privkey-PgXbaU -print-signature -admin -ignore-nonexistent-options failed with return code 1. Stderr is Unable to create certificate "default certificate": Unable to set the private key: Probably, the private key format is invalid.

View 2 Replies View Related

Plesk 12.x / Linux :: Each Website In Separate Directory

Dec 15, 2014

I just started using plesk for my blogs and websites, so testing and finding my way around i notice every site i add instead of having its own folder just like in cpanel(shared hosting) the sites are been added under the primary domain.

example; maindomain.com/seconddomain.com

I want it to be

maindomain.com
seconddomain.com
thirddomain.com
etc ...

View 3 Replies View Related

Plesk 12.x / Linux :: Cannot Point Domain To New Directory

Jul 6, 2014

When I am setting new directory for domain, the domain is served from old directory.

1. New directory has exactly the same file permissions as old one.
2. Restarting httpd service doesn't work
3. I am using Plesk 12

View 2 Replies View Related

Plesk 12.x / Linux :: Enable Directory Index?

Nov 5, 2014

How to enable in Plesk 12 directory index ( view and/or listening and/or browsable )...

View 5 Replies View Related

Plesk 12.x / Linux :: Webspace System User And Rsync Permissions

Nov 21, 2014

I have just used rsync to backup a dedicated server to a new cloud server. I put the files in a plesk webspace 'Backup' folder for ease of use (gui). In File Manager for that webspace it shows the folder user and group as root, which is obviously correct as rsync maintains users etc?

Thats fine, I just wanted to be able to back them up along with the rest of the server configuration and content.

However, when I run backup it says "For security reasons, backing up is performed on behalf of subscription's system user. This system user has no read access to:" and "So it was not backed up. All other data was backed up successfully. To fix this issue you may grant access read/write to the file or directory for system user "(username)" or "apache"."

I don't know how to give read/write access to the system user? Through file manager there is no option to change permissions.

View 1 Replies View Related

Plesk 12.x / Linux :: How To Connect Nginx To Work With Directory

Dec 12, 2014

How to connect nginx to work with directory web_users for some virtual host?

This directory contains two accounts (user1, user2) with a large amount of static content (files .jpg), the downloaded web users themselves. At the moment they are processed by Apache, which causes an additional load on the server.

In hosting configuration for virtual host "domain.tld" set:

document root: httpdocs. (That is, the "httpdocs" and "web_users" directories are on the same level).

In the web server configuration settings (in additional nginx directives) i can't use the directive "server" (refuses to save), where you can specify the location of the additional "document root" for nginx.

View 3 Replies View Related

Plesk 12.x / Linux :: Failed To Retrieve Directory Listing

Sep 6, 2014

Initially I was able to connect via FTP. Then all of a sudden I started getting 550 SSL/TLS required on the control channel. Why did it suddenly required SSL/TLS when I did not do anything extra?

Now when I'm trying to connect via FTPES using FileZilla (tried both active and passive) on Linux Mint Debian, I'm getting the error below. I'm really stumped. I have tried to Allow incoming from all on port 49152-65534/tcp via Plesk firewall, but still no go.

The worst thing now is, I can't even get FTP to work anymore. Of course I would prefer to have TLS working.

Status:Connection established, waiting for welcome message...
Response:220 ProFTPD 1.3.5 Server (ProFTPD) [206.106.213.243]
Command:AUTH TLS

[Code]....

View 1 Replies View Related

Plesk 11.x / Linux :: Password Protected Directory With IP Exception?

May 24, 2014

On Plesk 11.5 / Centos 6.5 / Linux

I normally protect a given directory in the Plesk Contral Panel with a Username / Password. I would like to bypass the username and password for visitors from one IP.

View 3 Replies View Related

Plesk 11.x / Linux :: Change Backups Directory To Another Disk?

Dec 18, 2014

I use plesk Parallels Plesk Panel v9.5.4_build95110630.14 os_CentOS 5

I read here [URL] ....

But how can i change other disk?

I want change the default directory for backups in /dev/sdb1 disk.

my fdisk -l output this:

Code:
[root@server /]# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code] ....

View 1 Replies View Related

Plesk 12.x / Linux :: Nginx IP Protected Directory Not Working

Nov 2, 2014

I have several customers with wordpress domains. I want to protect these directory's with Nginx on a plesk 12 machine.

I thought:

location /wp-admin/ {
allow 123.123.123.123;
deny all;
satisfy all;
}

would do the trick, but no go, nginx isnt passing it to apache by the looks of it. I tried all kinds of possible solutions but cant get it to work. It works with files though. The logfile says directory index of "/var/www/vhosts/testdomain.eu/httpdocs/wp-admin/" is forbidden. This makes sense, since its turned off.

How to get this to work with plesk 12 and nginx ?

View 2 Replies View Related

Plesk 12.x / Linux :: Using Libraries PDO On Server - No Such File Or Directory

Feb 18, 2015

I'm trying to use libraries PDO on the server but continues to give me this error. "SQLSTATE [HY000] [2002] No such file or directory" ....

I plugged in Additional Guidelines, both extension = pdo.so that extension = pdo_mysql.so.

View 1 Replies View Related

Plesk 12.x / Linux :: Activating Emails (making Them Work) In VPS System View

Aug 19, 2014

I have a Cloud VPS with 1and1 and Plesk is installed on it. I happen to have a VPS view that doesn't include DNS functionality for the domains.

So, i have added domain to the system, create an email address... because i dont see on how i can manage DNS settings I have set up cloudflare and pointed domain to the cloudflare and cloudflare is pointing to server.

so I have email: me@domain.com

on cloudflare i have:
A domain @ IP
A www @ IP
CNAME mail @ domain
MX 10 mail.domain

In plesk i have set up an alias, mail.domain for domain, that has access to email.

I go to the network-tools.com to look up me@domain.com:
[Resolving mail.domain...]
[Contacting mail.domain [IP]...]
[Timed out]

View 3 Replies View Related

Plesk 12.x / Linux :: Warning - It Is Not Safe To Rely On System Timezone Settings

Jul 17, 2014

I have a server with openSuSE 13.1 and Plesk 12.0.18#7 and get following Warnings:

Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /srv/www/vhosts

Warning: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /srv/www/vhosts/s535829144.online.de/httpdocs/contenido/includes/pseudo-cron.inc.php on line 306

I set php.ini from UTC to Europe/Berlin and restart the Server, thats no Effect.

etc/php5/apache2/php.ini
etc/php5/fastcgi/php.ini
etc/php5/cli/php.ini

View 1 Replies View Related

Plesk 11.x / Linux :: CentOS 6.6 Based System - Activate Mod Rewrite With Proftpd

Nov 13, 2014

My company and I are currently discovering Plesk on a CentOS 6.6 based system. We are migrating from an old system on which FTP usernames could hold uppercase letters, which apparently is not the case in Plesk 11 (or is it because of CentOS?).

Anyway, as we can't change these FTP account names, I was thinking about creating a rule with mod_rewrite in the proftpd.conf file.

So the question is: how can I reinstall/reconfigure proftpd with this module activated? I don't even know where to find the corresponding package (which repo, correct version, etc...)

View 2 Replies View Related

CPanel Directory / Sub-Directory Protection (Linux Shared Hosting)

May 31, 2007

I have a situation like this:

There is a directory say, "Master" and inside, "Master" there is sub-directory, "Slave". A user who has access to, "Master" should be able to access, "Slave" automatically. However, a user who has access to, "Slave" should not have access to, "Master". Inside cPanel this type of protection is not possible.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved