Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2003 21:01:58 -0400 (EDT)
From:      Jim Weeks <jim@jwweeks.com>
To:        Troy Settle <troy@psknet.com>
Cc:        'Jeremy Springer' <jeremys@oregontrail.net>
Subject:   RE: Frontpage *ahem* woes
Message-ID:  <20030509204619.G18208-100000@veager.jwweeks.com>
In-Reply-To: <000601c315b9$ee795d10$aa8ffea9@abyss>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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@domain.com
</VirtualHost>

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

--
Jim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030509204619.G18208-100000>