top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

reproduce similar webserver as webhosting companies

0 votes
28 views

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) ?

posted Jun 13, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

+1 vote

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

answer Jun 14, 2013 by anonymous
Similar Questions
+3 votes

How to do apache configuration to work as forward proxy.

+1 vote

What type of solutions can be considered for the OpenSource ? As per my understanding, if there are no many solutions are available in industry for same requirement then companies can make their product OpenSource if their product is not in demand or in other terms if they are not getting business from that.
Please share some thoughts.

+2 votes

I would like to create a web filter to forward some requests to another webserver,

The filter receives an "application/x-www-form-urlencoded" request , inspects the value of a parameter and chooses to forward to another remote webserver ( as a proxy )

I've seen some posts where they open a HttpURLConnection to remote server and send the request. This is right for me, but I'd would like if there is another way ( easier ) to implement it.


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...