This is a discussion on Installing Apache 1.3 as root. within the Linux Web Servers forums, part of the Web Server and Related Forums category; WE want to install apache server as root.Please advice. I want to run the web server for accesing some ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
WE want to install apache server as root.Please advice.
I want to run the web server for accesing some pages and scripts on my machine which run only with root access. Basically my last programmers had found the hack and it is a 1 line code in the /src/configure file ..If you can share the same with me I will be very grateful Thanks again for your helping hand, Merry Christmas. Fransisco |
|
|||
|
amol@fountaintechies.com (Fransisco) writes:
>WE want to install apache server as root.Please advice. The advice is: Don't do it. >I want to run the web server for accesing some pages and scripts on my >machine which run only with root access. Basically my last programmers >had found the hack and it is a 1 line code in the /src/configure file >.If you can share the same with me I will be very grateful Create a new group, and put your apache user in that group. Make those files accessible to the group. That's a considerably smaller risk. |
|
|||
|
On 25 Dec 2003 13:42:18 -0800, amol@fountaintechies.com (Fransisco)
wrote: >WE want to install apache server as root.Please advice. >I want to run the web server for accesing some pages and scripts on my >machine which run only with root access. Basically my last programmers >had found the hack and it is a 1 line code in the /src/configure file >.If you can share the same with me I will be very grateful > >Thanks again for your helping hand, Merry Christmas. >Fransisco Look in your httpd.conf for the User and Group parameters. Setting these to root would seem to be a very bad idea. Why not create a group for Apache to run in and set group permissions on the files for the Apache group to read-only? |