I have a new installation of Ubuntu 12.04 and I want to have 2 or more users be able to test with apache/php/mysql.
Within default config at sites-available I added two different VirtualHosts, one for each user lets say : /home/user1/public_html and /home/user2/public_html
Now I can view the index.php from the user1 at localhost/index.php but I can't do the same for user2.
I have a problem with setting up virtual hosts in apache.
I was wanting something like http://subdomain.domain.com
I understand how to get the subdomain itself working.
I've setup git-http-backend on my vps server (CentOS), under one of its users. The apache user owns the git project root directory - /home/theuser/git/, as below:
drwxrwxr-x 3 apache apache
The apache user also owns everything inside that directory.
I have configured an apache web server and also configured it to access the public_html per user directory.
I am having a go at setting up my own Apache and can't seem to get my head around the permissions.
Lets say I grab a file from somewhere off the web and it has permission of 600.
I then upload this file via ftp to a user directory, which is also an apache virtual site, and so this file retains this permission of 600.
Hello, i followed the wiki to set up LAMP but i'm having a problem... Apache cant access to my files in ~/public_html, althought my home folder and public_html folder have 755 permissions./etc/httpd/conf/httpd.conf#
# This is the main Apache HTTP server configuration file.
Not sure if this is possible but is there a way to grant the Apache user same level of permissions (ownership) as root only on specific folder(s).
Why I need this:
We have a CentOS 6.2 server with apache setup as our development server, and we use only the root user because the server is an internal server and doesn't have any outside access, every day we upload quite a lot of files and setup new
Fresh LAMP server setup with Ubuntu 12.04 and VSFTPD.
I'm trying to access the /var/www folder (web root) with FTP user.
I created a new user ftpuser and added it to the www-data user group created automatically by Apache.
Home directory of that user is set to /var/www.
I also changed the ownership of the /var/www to www-data group and changed permissions to 02775.
However, I'm still not able t
I'm trying to set up an nginx server to replace our current setup based on Apache. Our users have password protected directories (with directives in .htaccess files) which we need to keep protected in the new setup.
As far as I can see, nginx doesn't have a Directory directive, but only a Location directive, which refers to URIs instead of file system paths.