Fenux.Net - The Life of a Geek
Lots of people seem to have this problem, but no one seems to have a solution...
FreeBSD
Posted on 11/6/2004 12:50 pm in FreeBSD

Frontpage extensions running on Apache
From /var/log/httpd-error.log:

[Sat Nov 6 12:29:24 2004] [error] [client 172.22.2.10] web root owned by privileged user: /usr/local/www/data/_vti_bin/_vti_adm/fpadmcgi.exe

*bangs head on desk*

Possible Solution #1:
In the /usr/ports/www/apache13+modssl directory, make deinstall && make APACHE_SUEXEC_UIDMIN=50 APACHE_SUEXEC_GIDMIN=50 WITH_APACHE_SUEXEC=yes install clean. The www user & group have an id of 80. The default minimum uid for apache to not consider privileged is 1000.
Result: Failure

Possible Solution #2:
In /usr/ports/www/mod_frontpage, make deinstall && make FP_UID_MIN=50 FP_GID_MIN=50 install clean. Same reasoning.
Result: Failure

By default, it seems, mod_frontpage is compiled with a FP_UID_MIN & FP_GID_MIN of 80.

The Fix:
Uninstall mod_frontpage and install mod_frontpage-rtr. The big difference between the two is that the rtr version doesn't allow enabling/disabling per virtual server of the frontpage extensions AFAIK.

Creative Commons License  Subscribe with Bloglines  Get Daily Wisdom!
This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License.
© 2000-2013 Jason Burgess