httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JupiterHost.Net" <mli...@jupiterhost.net>
Subject Re: [users@httpd] ScriptAlias in apache2 "target uid mismatch with directory or program"
Date Thu, 13 Jul 2006 19:18:21 GMT


JupiterHost.Net wrote:
> We built apache 2.0.58 w/ suexec and the ScriptAlias's now result in 500 
> errors with "target uid mismatch with directory or program" logged.
> 
> Obviously the error is from when SuexecUserGroup is being used and do 
> not match the ScriptAliased directory, it never will :)
> 
> The thing is this worked exactly the same (same config with Port changed 
> to Listen, User, Group, to SuexecuserGroup, etc) with Apache 1.3.36 w/ 
> suexec.
> 
> So what needs changed to allow 2.0 to use ScriptAlias's like 1.3 did?
> 
> In other words:
> 
> ScriptAlias /foo/ /usr/foo
> 
> Obviously /usr/foo won't be owned by the Suexec calling user/group.
> 
> So how to make this work on 2.0:
> 
>  foo.com/foo/ (user/group foo)
>  bar.com/foo/ (user/group bar)
>  baz.com/foo/ (user/group baz)
> 
> TIA!

if I uncomment
  SuexecUsergroup whatevr whatever
it works...

Seems like it shouldn't work that way, anything I'm missing?

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