httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman Raheja <arah...@techquotes.com>
Subject Re: [users@httpd] Running scripts as different users
Date Tue, 28 Sep 2004 13:17:01 GMT
You can also do this
If you don't mind these users to be in the apache group and let the 
group have execute permission on the scripts - depends on your security 
policies but is indeed an option.

Aman Raheja

Ben Gill wrote:

> Hi,
>  
> I have 2 applications (PHP) running under my apache 2 server 
> (httpd.2.0.50) server and it runs as user apache.
>  
> My htdocs area looks like this:
>  
>  
> htdocs/appA
> htdocs/appB
>  
> Currently appA and appB are owned by apache.
>  
> I would like appA to run as userA and appB to run as user appB.
>  
> I would like the applications to both be accesible via port 80.
>  
> Is Suexec my only solution here?
>  
> I got the impression (from reading a lot of posts) that in Apache 1.x 
> you used to be able to do this using VirtualHost tag.  But I tried 
> using SuexecUserGroup inside this tag and this did not work either 
> (maybe because I did not explicitly compile apache with Suexec support?)
>  
> Any help would be appreciated....
>  
>  



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message