Re: reproduce similar webserver as webhosting companies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux