Home Directory Move Issue With Apache, CentOS 5
Apr 19, 2008
I moved the home directory for apache from /usr/local/apache2/htdocs to /home/username/www
When I go to browse the site, I receive a 403 error, You do not have access to / on the server.
It gave the OK default page for apache before moving so I am assuming it is a permission issue.
What do I need to do? apache is running as the default "daemon" user and group.
View 10 Replies
ADVERTISEMENT
Jul 19, 2014
I have recently switched from Ubuntu to Mint because I would like to enjoy out of the box functionality. I installed Apache, PHP and Mysql. When I go to localhost, the page displays correctly indicating that the server is functioning. In /var/www/html I created devPages. In devPages I created a symlink to a directory in my home directory where I keep all of my html/php files.
When I point my browser to http://localhost/devPages/1/ I get "You don't have permission to access /devPages/1/ on this server". This appears to be a permissions/ownership issue. I don't want to change the permissions for the directory or files in the home directory because they are set to work properly on my production server. Is there a way to get apache to accept files in my home directory?
I have set owner and group for devPages and the symlink to www-data. Set permissions to 755 for devPages.
By the way, under Ubuntu, I have always used a symlink and it always worked without any issues.
View 1 Replies
View Related
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
Mar 5, 2007
to move:
/dev/sda6 1012 506 506 50% /tmp
/tmp 1012 506 506 50% /var/tmp
to /home
and make Symlink or something.
View 4 Replies
View Related
Jun 16, 2009
As some of you may have noticed I have just signed up with Hawk Host. I had a question about the way the name your home directory. Lets say my full name is Chad Hawk. They have named my home directory /home/chadhaw . Is it normal for them to leave out the last letter of my last name or is that a typo. Or for that matter does it matter at all.
View 9 Replies
View Related
Jul 31, 2009
I am using Windows Server 2003 SP2 Standard Edition. I have installed Active directory and created users and their home folders. Everything works fine except a problem.
When a user from the domain uses the UNC to connect to the server, it shows the shared folder. The user can view and change all other users files, home directory etc. The user can browse all the folders.
I need it to be setup so that the user can only view his own home folder and files and not others. Also when using UNC to browse the server, I want an administrator authentication even if the user is from the same domain.
Here are my current permissions.
NTFS Root folder permission
=================================
Administrators - Full Control
CREATOR OWNER - Special Permission
System - Full Control
Domain Users - Read & Execute, List Contents, Read, Special Permissions.
Share permission of root folder
================================
Domain Users - Read
NTFS Permission for user home folders
=====================================
Created User - Full Control
Administrators - Full Control
CREATOR OWNER - Special Permission
System - Full Control
Domain Users - Read & Execute, List Contents, Read, Special Permissions.
View 2 Replies
View Related
Feb 24, 2008
I'll mention this is a cPanel/WHM server with about 15 accounts on it.
I get an e-mail everyday from my server's backup script telling me what new or changed files it found. Yesterday this summary was massive, and it showed new or changed files in these directories:
/proc
and
/home/virtfs
The type of files it contains:
"/home/virtfs/[username]/proc/140/task/140/exe"
"/home/virtfs/[username]/proc/139/exe"
"/home/virtfs/[username]/proc/139/task/139/exe"
"/home/virtfs/[username]/proc/227/exe"
"/home/virtfs/[username]/proc/227/task/227/exe"
"/home/virtfs/[username]/proc/374/exe"
The /home/virtfs directory is something I haven't seen before, and it contained two directories belonging to two accounts on the server.
Does anyone know why these directories would be created or what they are for? The bit of reading I've done on this so far mentions that these directories will be created as a result of jailed SSH, but neither of those two accounts have ever had jailed SSH enabled.
View 2 Replies
View Related
Apr 23, 2008
Is it possible to add another hard-drive and attach it to increase the size of the /home directory?
Beginning to run out of space.
View 6 Replies
View Related
Jul 10, 2008
I was just wondering is it possible to move a directory to another server through SSH?
I bought a website a few weeks ago and I have all the files on the server except 30gb of content, now I've tried to put the folder into a tar archive but every time I try it brings up this error:
So I need a way to drag that folder from the old server to my new server through SSH because it will take me ages downloading and uploading all the content.
View 4 Replies
View Related
Jan 13, 2007
When I'm adding a new account, I got some error:
[url]
How can I fix that?
View 8 Replies
View Related
Sep 28, 2008
I am trying to migrate a server to a new host.
When I try to restore a full backup on my new host, NONE of the home directory files are making the move. Everything else is fine though.
I'm not getting any errors, so I don't have a clue as to why this isn't working.
View 5 Replies
View Related
Oct 30, 2007
created one problem for us cpanel
in create new account:
[an error occurred while processing this directive]
Setting up FrontpageŽ...
/home/create1/public_html does not exist or is not a directory!
View 8 Replies
View Related
Oct 11, 2013
I have 11.5.30 and no new FTP accounts work. All I get when trying to connect is 530 User cannot log in, home directory inaccessible. I have run the command:
"%plesk_cli%
epair.exe" --reconfigure-ftp-site -webspace-name site.co.uk
removed and added the user again repairing in between. I have manually tried creating the user folder under default/6/localuser/username and setting permissions. I have checked the local windows account and the home directory is fine.
All old accounts create previously work fine. I could at least connect on the master FTP site with the local user folder but then it was read only.
View 7 Replies
View Related
Jul 10, 2014
I don't know why, but only one server with Plesk 12 if i create additional ftp accounts not working. i receive error:
530 User cannot log in, home directory inaccessible.
If i use principal FTP account works fine.
View 5 Replies
View Related
Nov 14, 2013
I want to move the data directory to another partition on all nodes. Apache (vhost), IIS (vhost), MySQL (databases) and Postfix (mailbox content). What's the correct way to do this without breaking functionality of PPA?
View 5 Replies
View Related
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
Apr 15, 2009
my /var partition is full,
im not sure if any files i can remove to get more free space on /var partition.
because there are more free space on /home,
i think if i can move all the /var/lib/mysql to /home/mysql,
if yes,howcan i move it and do any change,
can let the sql data do not lose,
andrun well in the feature ?
View 14 Replies
View Related
Jan 4, 2008
I am trying to install Apache + PHP on Windows XP SP2. I managed to get Apache working. However, when I setup PHP and tried to access a page with <?php phpinfo(); ?> it displayed nothing but a blank page. When I viewed the source is showed the PHP, therefore it was not parsed...
I have checked and double checked my paths, I have tried doing it as a module and cgi, I have read tutorial after tutorial and I cannot get it to function properly.
Apache 2.2.6, PHP 5.2.5
View 5 Replies
View Related
Mar 18, 2014
There is a page on a separate SharePoint environment, under http://domain.edu/yyy/yyy/yyy/yyy. We have a subdomain called http://123.domain. edu . We need the home page of http://123.domain,edu to point to the SharePoint site, so when users type http://123.domain.edu , they are redirected to http://domain.edu/yyy/yyy/yyy/yyy.
The trick is this - we need all sub-directories NOT to redirect. So, whatever is under http://123.domain.edu/subdirectory should not redirect at all. Is this doable? Also, if it is, I have no clue where to go to make any changes, so any instructions would be great. So far, I have found the text file httpd.conf that I can edit, but I have no clue about the rest.
View 1 Replies
View Related