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


ADVERTISEMENT

Shared Hosting Directory Structure

Jun 2, 2009

I recently switched from one shared hosting company to another. Both plans included WHM and Cpanel. After gaining access to the new WHM, I created a second domain (the first was established by the hosting company upon startup with a domain name I had just purchased). At that point, both domains showed in WHM; I could access both with Cpanel, and I could properly use SFTP to access the correct /home remote starting directory for each of the two domains.

I had provided my new host with a full Cpanel backup of the second domain (the one I just installed on my new account myself) from my old host. That night the new host restored all files including mysql.

At this point, I can still access the original domain (established by my new host the previous day) just as I did before. However, now I cannot access the restored domain using SFTP ("can't find directory" error message). I have to use FTP. Also, I can't acccess the proper starting directory. My FTP agents (I've used two) go immediately to /public_html, nor can I go up even one level. This means that I've lost the ability to access two higher directory levels in the ususal /home/mydomain/public_html directory structure.

I've used various starting remote directories within my third party FTP agents to no avail.

Support is courteous, but stumped. They indicate that the directory structure looks fine from its end. Indeed, if I use Cpanel file management for the problematic domain, I too can see and access /home/mydomain-name, something I can't do using third party agents.

I am concerned that security may be problematic with this situation. Even though I can access the suspect domain using Cpanel and see its front end with a browser, I wonder whether there might be issues down the road.

View 0 Replies View Related

Directory Password Protection

Jan 4, 2008

When I use password protection using cPanel I have the following issue which is illustrated using the following example:

Main folder: X
Sub folders inside X: A, B

All three folders are password protected.

If a user has access to X, I would like that user to have access to A and B as well automatically. But this does not happen. I need to manually add this user to both A and B as well.

If a user has access to A, I would not like that user to have access to X. This is possible to do.

View 2 Replies View Related

Httpd Directory Alias (public_html) Virtual Directory

Dec 11, 2008

How do I direct my httpd file to point to:

home/USER/public_html
instead of:
C:Users estetc...

I want to do this to make my test server just like the remote server.

View 5 Replies View Related

Move The Entire Contents Of A Directory Tree To Another Directory

Sep 18, 2008

I want to move the entire contents of a directory tree to another directory.

So for example we may have a directory with 15 directories inside, each directory contains files itself. I want to copy all the files from the directory tree into another directory located somewhere else one the file system. I want only the "files" to end up in the other directory and not the file structure too.

Im running CENTOS latest version.

View 4 Replies View Related

Ffmpeg :: Cannot Open Shared Object File: No Such File Or Directory In Unknown On Line 0

Mar 6, 2008

Rapidly growing error logs showing the same message

$ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0

root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*
root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*

Using cpanel 11 / centos 4

View 1 Replies View Related

Remove Directory On Linux Server

Jan 3, 2007

How do I remove a directory on a Linux server? I tried this but obviously was not empty... So I need to remove a full directory...

Quote:

rmdir ruby-1.8.5
rmdir: `ruby-1.8.5': Directory not empty

View 13 Replies View Related

What Is Linux Command For Compressing The Contents Of A Directory?

Oct 13, 2009

What is Linux command for compressing all the files under a Directory, as
well as all the files in sub-directories under that directory, so that upon
uncompression the files are created in the right directory and sub-directory.

Also of course what is the command to un-compress this compressed file?

In case: the Linux OS here is Redhat Enterprise and the web server is Apache.

View 7 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 :: 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 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 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 :: Place File Into Document Root Directory?

Jul 11, 2014

I need to place a file in the root of my server. How should I do?

I tried:
SSH connection
wget ......
but the file is not in the right place

Where should I place it?

View 2 Replies View Related

Plesk 12.x / Linux :: Migrating Backups In Correct Directory Structure

May 28, 2015

I'm migrating sites from Plesk 9 to Plesk 12 using the migration manager. Since the migration manager doesn't migrate backups, are the backups compatible between Plesk 9 and Plesk 12? If so, is there an easy way to copy the backups in the correct directory structure since we are forced to use clients in plesk 12 and it changes the directory structure of the backups folders.

View 2 Replies View Related

Plesk 12.x / Linux :: Horde Error - Unable To Create VFS Directory

Sep 4, 2014

We are having an issue when users are trying to add attachments via horde the error:

unable to create VFS directory /.horde/imp

appears. How this can be resolved? 

View 3 Replies View Related

Plesk 11.x / Linux :: Additional Domain Pointing To Wrong Directory?

May 30, 2014

i'm running the latest version of Plesk 11 on a Ubuntu 12.04 system.

We have a customer with a domain and this customer added other domains to his account.

now, 2 domains are not working, he created the as usual, Plesk created the directories under /vhosts/domain.com/domain1.com and the vhosts.conf are also correct.

when i'm opening the domain in the browser, i get the following error message:

The requested URL /var/www/vhosts/domain.com/index.php was not found on this server.

View 3 Replies View Related

Plesk 12.x / Linux :: Backup CentOS Server File Directory

Feb 25, 2015

Which protocol I should use for performing a backup of important server files and folders. I do make a snapshot but i found that's not enough.

My Centos 6.6 has ProFTPD configuration setup only for webhosts so no root access. I came across SCP, but don't know how to secure that like a Pro. I have also heard about SSHFS for linux.

View 1 Replies View Related

Plesk 12.x / Linux :: Rkhunter Config - Installation Directory Does Not Exist

Oct 29, 2014

When trying to run rkhunter manually I get the error:

"Installation directory does not exist: /opt/psa"

I haven't changed the install directory setting in the rkhunter config file.

Looking for "default" rkhunter config file?

Or tell me a way to reset / reinstall rkhunter?

View 15 Replies View Related

Plesk 12.x / Linux :: No FTP Directory Listing After Block (Allow Other Incoming Traffic)

Dec 25, 2014

Today I try to fit all FW rules to my need. After i blocked the traffic "allow other incoming traffic" in the Plesk FW i dont get folders listed via FTP. The FTP client connect to my server, but listing content times out. After allow other traffic the content get listed. The rule "Allow FTP connections" ist in all enabled all the time.

View 3 Replies View Related

Plesk 11.x / Linux :: Setting Up Cron Job For Domain User - No Such File Or Directory

Apr 20, 2014

Can't get it working, I want to set up a cron job for a domain user, but seems that there's a problem to find the php executable. The command is:

Code:
/usr/bin/php/ -f /var/www/vhosts/thedomain.com/httpdocs/test.php

But the report says

-: /usr/bin/php/: No such file or directoryClick to expand...

View 3 Replies View Related

Plesk 12.x / Linux :: Setting Backups To Own FTP Server - Unable To List Directory

Jul 8, 2015

I'm trying to setting plesk backups to own ftp server.. My ftp server is listening by the port 31..

My conf:

Server: mydomain:31
Directory: vpsbkp
User and password...
Passive mode checked

Here the error display: "Transport error: unable to list directory: Curl error: Couldn't connect to server"

Where are the bkp ftp logs?

View 4 Replies View Related

Plesk 11.x / Linux :: Enabled Firewall To IP - Failed To Retrieve Directory Listing

Apr 10, 2014

I enabled plesk firewall to my ip now I cant seem retrieve directory listing. I've done the same with ssh that works fine.

Response:230 User logged in
Command:OPTS UTF8 ON
Response:200 UTF8 set to on
Status:Connected
Status:Retrieving directory listing...
Command:PWD
Response:257 "/" is the current directory
Command:TYPE I
Response:200 Type set to I
Command:PASV
Response:227 Entering Passive Mode
Command:MLSD
Error:Connection timed out
Error:Failed to retrieve directory listing

View 3 Replies View Related

Plesk 12.x / Linux :: File Sharing - Internal Error / Directory Does Not Exist

Jan 5, 2015

Since the update to #30 two separate installs on Ubuntu 14.04.1 LTS I'm getting the below error :

Internal error: The directory does not exist "admin"Click to expand...

View 4 Replies View Related







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