Hi,

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.


>> 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

Images are "alias"ed to "/images/qmailadmin/" (URL-location cannot be
specified by ./configure AFAIK)

>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.

Thanks,
        Peter

Reply via email to