Hi,
i have a web server running on fedora. This web server is only for applicatons testing purposes. when i installed apache 2.4 it automatically create a group and an user apache.
All files/folder that are under /publi_html should have apache as user/group permissions.
This webserver runs in virtual machine and has its own IP address. now i need to reach this webserver from a windows workstation and edit/add/delete files and folders from the public_html directory. i can not use my default user account as this account can just read files but can't edit/delete or add files/folder as standard permissions are 644 for files and 705 for folders.
i was thinking to perfom all actions (delte/move/edit...) in this public_html directory under apache account, but as apache account was installed automatically i do not have the password.
So what is the default password for apache user account ?
I guess there is better solution as on webhosting servers, you do not have apache user account, but a different one. so please, could you tell me how webhosting companies manage that (in order to reproduce a very similar way at home) ? thx.
Am 13.06.2013 13:38, schrieb Rafnews:
i was thinking to perfom all actions (delte/move/edit...) in this public_html directory under apache account, but as apache account was installed automatically i do not have the password.
So what is the default password for apache user account?
you must not login with a *service* account
add your user to the apache group and give the files permission which allows the group apache read/write
Allegedly, on or about 13 June 2013, Rafnews sent:
when i installed apache 2.4 it automatically create a group and an user apache.
So it doesn't run as root...
All files/folder that are under /publi_html should have apache as user/group permissions.
No, serveable files should not be owned by apache, that would allow the outside world read/write access when they should only have read access. The normal way to serve files is to have them owned by the author, with world-readable file attributes.
So what is the default password for apache user account ?
There is none. It's not an account that can log-on. The server runs /as/ the apache user, so it has low privileges.
Rafnews raf.news@gmail.com writes:
Hi,
i have a web server running on fedora. [...] All files/folder that are under /publi_html should have apache as user/group permissions.
I wouldn't put such files onto the root partition but rather into a directory like /var/www/html/testing.
This webserver runs in virtual machine and has its own IP address. now i need to reach this webserver from a windows workstation and edit/add/delete files and folders from the public_html directory.
You could do this through ftp access (see vsftpd and filezilla) or perhaps with rsync.
There are probably some php scripts that implement some sort of file manager that has a web interface.
Rafnews wrote:
Hi,
i have a web server running on fedora. This web server is only for applicatons testing purposes. when i installed apache 2.4 it automatically create a group and an user apache.
All files/folder that are under /publi_html should have apache as user/group permissions.
This webserver runs in virtual machine and has its own IP address. now i need to reach this webserver from a windows workstation and edit/add/delete files and folders from the public_html directory. i can not use my default user account as this account can just read files but can't edit/delete or add files/folder as standard permissions are 644 for files and 705 for folders.
i was thinking to perfom all actions (delte/move/edit...) in this public_html directory under apache account, but as apache account was installed automatically i do not have the password.
So what is the default password for apache user account ?
I guess there is better solution as on webhosting servers, you do not have apache user account, but a different one. so please, could you tell me how webhosting companies manage that (in order to reproduce a very similar way at home) ? thx.
Why are you putting things in the public_HTML directory, which is normally where normal unprivileged uses put things as themselves? All my default web servers run stuff out of /var/www and you can put virtual hosts in /var/www/xxx where xxx is the base directory for the virtual domain you describe in conf.d/xxx file. I have many non-profits I host for free doing just that.