Re: [users@httpd] ScriptAlias in apache2 "target uid mismatch with directory or program"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux