On Wed, 25 Dec 2002 05:34:04 +0200, [EMAIL PROTECTED] (Octavian Rasnita) wrote:
>Yes I know these, but ... it seems there is no solution. > >1. The web server is not in the same group with me, and if it will be made >to stay in the same group with me, the other users that have web pages on >that server will need to be added to that group. > >2. I saw that I need to give read permission also for a script to work, not >only execute permissions. > >The only solution would be to run the Apache server with my user, but I >don't know how to do that. >How is this possible? Apache has the "suexec" program to do this. If suexec is in the path when apache starts up, then the httpd will run as user when in the user's home directory. This has advantages and disadvantages, but it is easily done. Normally apache will run as wwwrun/nogroup or nobody/nogroup, with suexec, apache will run as user/users when in users public_html. You can then run scripts at mode 700. It usually is best to set aside a dedicated user just for some cgi-program. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]