A Definitive Answer To File/Folder Permissions For Apache?


Enar
HOME ยป Linux

Hi,
I'm currently setting up a new server and having doubts about my file/folder permission settings again - no matter how much I research this, I never get what I would consider to be a comprehensive answer on the subject as the posts I've read all seem to contradict each other in slightly different ways, so I'd appreciate some input from the experts here please
First, the set-up:
1. I'm using CentOS and Apache is running as "apache".
2. There's only one site running on the server, and the document root is "/var/www/html".
3. I also have aliases to phpMyAdmin and Xcache, which live outside the web root in directories like "/usr/share/phpMyAdmin",

Related to : A Definitive Answer To File/Folder Permissions For Apache?
A Definitive Answer To File/Folder Permissions For Apache?
by Enar in Linux
Hi,
I'm currently setting up a new server and having doubts about my file/folder permission settings again - no matter how much I research this, I never get what I would consider to be a comprehensive answer on the subject as the posts I've read all seem to contradict each other in slightly dif
[all variants] File/folder permissions + Apache - How to?
by Sweden in Linux
Hi Folks
been running ubuntu/apache for some time now, and have finally decided to fix a long outstanding "issue". Issue in that it's me who doesn't know how to do something rather than Ubuntu being broken.
Consider the scenario:
1. Apache with websites residing in
/var
Apache authentication and file/folder access permissions
by RKelln in Linux
Hello,
I am working at a webbased file browser, where users will be able to access, rename, delete, etc files and folders. My question is, what is the best way to handle permissions / authentication with apache in a *nix environment? Basically what I am searching for is something that works rou
[all variants] Apache authentication and file/folder access permissions
by gorbiz in Linux
Hello,
I am working at a webbased file browser, where users will be able to access, rename, delete, etc files and folders. My question is, what is the best way to handle permissions / authentication with apache? Basically what I am searching for is something that works roughly the same as the w
Insufficient Storage, a definitive answer? found answer.
by rancherlee in Linux
Apparently for the SPH-M950 or the majority of the Galaxy line running ICS there are some things necessary to root in order to free up storage and clean up odex files. Even with root and App2SD utilities I cant move apps to ext sd without Directory Bind, or clean up certain installation files withou
Apache Folder Permissions
by Alan Xu in Linux

When I create a directory with PHP's mkdir(), the folders' owner is 'apache'. When I create a directory over FTP, the owner is 'ftpadmin'.


For some strange reason, with PHP's rename() function I can't move any files into a directory owned by 'apache'. I've TAGS: Apache Folder Permissions

Apache & PHP folder permissions
by Brazil in Linux

Our PHP scripts create dynamic folders and files and we are having a permission issue. The folders were initially create using our ftpuser.
EG: Album (created by ftpuser) all subfolders and files in them have to be dynamically created. The apache user is the user when a new folder is created


Apache server folder permissions
by Ka0t1x in Linux
for srv/www/htdocs, what should be the user and permissions for these folders?
I have access locally and over the local network. I have created user named after my XP laptop on the linux PC, do I use that or just set everything to 'USERS' to allow anyone in?
So I suppose I need to know wh
Web Folder Ownership and Permissions for Apache
by amiT jaiN in Linux
I'm wondering if anyone can give me some advice on ownership and permissions for web folders for Apache. All my web folders were owned by root root. I changed that to www-data www-data (my Apache group and user). I did this so I could change the permissions on some upload folders to 775, instead
Apache Server Sub Folder Permissions
by deshao in Linux

Hi guys,
Right now when visitors view my site they can access all of the folders on the server (CSS, Javascript, Images, etc).
Can you tell me how I can update my Apache server information to stop this from happening?

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .