also sprach pb:
> Hi,
>
> 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.
> 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?
> --enable-ezmlmdir=/usr/local/bin/ezmlm
> --enable-ezmlmidx=y
>
> If you ask why: here the scenario:
> apache is configured to run all CGIs of virtual hosts with specified "user"
> / "group" by using suEXEC (locked in a box).
> To allow also particular usage of sqwebmail and qmailadmin, the only way to
> come out of this box is to use "user_dir", but closed for all others using
> Userdir public_html
> Userdir disabled
> Userdir enabled vpopmail
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>
Then, configure qmailadmin with:
./configure --enable-cgipath=/qmailadmin \
--enable-htmldir=/home/vpopmail/public_html \
--enable-cgibindir=/home/vpopmail/cgi-bin \
[other options]
You should then be able to get to qmailadmin using
<http://mail.my.domain/qmailadmin>. This is almost exactly how I've
configured it a number of times.
/pg
--
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
The chat program is in public domain. This is not the GNU public license. If
it breaks then you get to keep both pieces.
(Copyright notice for the chat program)