lighttpd forum migration > qmailadmin

Posted by Mattias Bodlund
on 12.07.2006 18:09
On my way on migrating from apache 1.3 and I get everything up and 
running except for qmailadmin. This has run from cgi-bin before.

Have anyone done this before?
Posted by Mattias Bodlund
on 13.07.2006 10:55
The file lookes like this:

-r-sr-sr-x  1 vpopmail  vchkpw  108076 Feb 14  2003 qmailadmin
Posted by Mattias Bodlund
on 13.07.2006 13:24
Made it work by.

cgi.assign = ( "/usr/local/www/cgi-bin/qmailadmin/qmailadmin" => "" )

Thanks Phil.
Posted by Guest (Guest)
on 29.07.2006 09:24
Mattias Bodlund wrote:
> Made it work by.
> 
> cgi.assign = ( "/usr/local/www/cgi-bin/qmailadmin/qmailadmin" => "" )
> 
> Thanks Phil.

Hey,

I've tried to copy this example, however lighty still tries to dish me
out a BIN file instead of running it :/

Any idea's/clue's...
Posted by Jack Mays (Guest)
on 17.08.2006 16:51
I'm currently having the same issue.  I tried was was posted but alas,
same issue, firefox keeps trying want to download the file instead of
lighty executing it.

Guest wrote:
> Mattias Bodlund wrote:
>> Made it work by.
>> 
>> cgi.assign = ( "/usr/local/www/cgi-bin/qmailadmin/qmailadmin" => "" )
>> 
>> Thanks Phil.
> 
> Hey,
> 
> I've tried to copy this example, however lighty still tries to dish me
> out a BIN file instead of running it :/
> 
> Any idea's/clue's...
Posted by Jack Mays (Guest)
on 17.08.2006 18:33
I should clarify, I didn't use the code verbatim, I changed it to match 
the location of qmailadmin on my machine, which is:

cgi.assign = ( "/var/www/cgi-bin/qmailadmin" => "" )


Jack Mays wrote:
> I'm currently having the same issue.  I tried was was posted but alas,
> same issue, firefox keeps trying want to download the file instead of
> lighty executing it.
Posted by Bsdspot (Guest)
on 03.11.2006 01:01
Using Jack's cgi.assign below (with the path changed to my own cgi-bin) 
worked a charm.

One thing I had to do though, was to clear my firefox cache manually - I 
think FF kept the previous result - so instead of asking lighty to run 
the script it just accepted the previous result - which was to download 
the binary.

Looking into my cgi-bin I noticed that there is no qmailadmin directory, 
so

path/to/cgi-bin/qmailadmin/qmailadmin

as posted by Mattias needs to be changed to

path/to/cgi-bin/qmailadmin

as in Jack's post.

Using:

qmailadmin 1.2.3
vpopmail 5.4.9
lighttpd 1.4.11
debian sarge (2.6.11 kernel)
---------------------------------

Tel
bsdspot.com


Jack Mays wrote:
> I should clarify, I didn't use the code verbatim, I changed it to match 
> the location of qmailadmin on my machine, which is:
> 
> cgi.assign = ( "/var/www/cgi-bin/qmailadmin" => "" )
> 
> 
> Jack Mays wrote:
>> I'm currently having the same issue.  I tried was was posted but alas,
>> same issue, firefox keeps trying want to download the file instead of
>> lighty executing it.