> At 15:34 02.09.2000 -0400, Peter Green wrote:
> >> looks like there are some bugs generating URLs for the buttons:
> >
> >This may not directly address your problems, but it might give you a little
> >different perspective on how to accomplish what you're trying to do.
>
> Thanks, but something like your scenario was the starting point of my one.
Okay. You didn't followup on my previous point, but that may mean that it
doesn't work on your platform. :) ``Does it work to simply setuid the
qmailadmin cgi, wherever it is actually located, and forego the explicit
suEXEC User/Group statements?''
> >> I'm using following configure options:
> >> ./configure
> >> --enable-cgibindir=/home/vpopmail/public_html/qmailadmin/cgi-bin
> >> --enable-htmldir=/home/vpopmail/public_html/qmailadmin
> >> --enable-cgipath=qmailadmin
>
> >Should this be ``--enable-cgipath=/qmailadmin'', i.e., an absolute URI? Is
> >/qmailadmin ScriptAlias'd to
> >/home/vpopmail/public_html/qmailadmin/cgi-bin/qmailadmin?
>
> The "qmailadmin" binary is in located in
> /home/vpopmail/public_html/qmailadmin/cgi-bin/qmailadmin
> and is called via
> https://server/~vpopmail/qmailadmin/cgi-bin/qmailadmin
Then I think you want cgipath to be ``/qmailadmin/cgi-bin/qmailadmin''.
> >This isn't necessary, at least, on the platforms I've used (Linux). Just
> >setuid the CGI and it will run under that user. Otherwise, you can put it in
> >its own VirtualHost clause and suEXEC will work:
> >
> > Listen a.b.c.d:80
> > <VirtualHost a.b.c.d:80>
> > ServerName mail.my.domain
> > User vpopmail
> > Group vchkpw
> > DocumentRoot /home/vpopmail/public_html
> > ScriptAlias /qmailadmin /home/vpopmail/cgi-bin/qmailadmin
> > </VirtualHost>
>
> Ok, but this unfortunately only works on non-SSL servers!
> SSL isn't able to provide IP-less virtual hosting, but I want to use
> "qmailadmin" and also "sqwebmail" with SSL.
I was assuming you would be using IP-based, NOT name-based, virtual hosting.
Is this not an option? (Even if you don't have another IP address to burn,
you might be able to do it with mod_rewrite or mod_proxy and setting up your
virtual servers on loopback addresses. But that's another HUGE can of worms.
:)
/pg
--
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"I would rather spend 10 hours reading someone else's source code than
10 minutes listening to Musak waiting for technical support which
isn't."
(By Dr. Greg Wettstein, Roger Maris Cancer Center)