Frontpage *ahem* woes

Jim Weeks jim at jwweeks.com
Fri May 9 18:03:13 PDT 2003


On Thu, 8 May 2003, Troy Settle wrote:
>
> I should have been more clear...
>
> I did get the apache/ssl/fp combo to work, but what I ran into, was that
> every FP web had to run as the same user, which is/was not desirable.
>
> It all comes down to getting suexec/fpexec/etc to all play nice
> together, and I was unable to come up with the magic formula to get it
> done.

My work around for this problem has been to maintain a sub-domain DNS
record and two apache directives, one for publishing and one for
serving.  Something like:

<VirtualHost *.*.*.*>
DocumentRoot /usr/local/www/data/username/
ServerName domain.com
ServerAdmin webmaster at domain.com
ServerAlias www.domain.com
ScriptAlias /cgi-bin/ /usr/local/www/data/username/cgi-bin/
User username
Group username
ErrorLog /usr/log/domain.com-error_log
TransferLog /usr/log/domain.com-access_log
</VirtualHost>

<VirtualHost *.*.*.*>
DocumentRoot /usr/local/www/data/username/
ServerName publish.domain.com
ServerAdmin them at domain.com
</VirtualHost>

This requires copying domain.com:80.cnf to
publish.domain.com:80.cnf. Maybe this will work for you.

--
Jim



More information about the freebsd-isp mailing list