On Jun 13, 2005, at 3:43 AM, Rick van Vliet wrote:
Teodor Lupan said the following on 6/13/2005 7:56 AM:
Hello all!
I have the following situation... I need to install qmailadmin with name qmailadmin.cgi instead of simple qmailadmin - wich is default. This is because I want to run it from webmin webserver, wich only runs cgi programs with .cgi extensions. A simple rename won`t do because qmailadmin has set internally the name ( in a variable called "##C"), so maybe it is an compile time option, or maybe I need to change something in Makefile, but I need your help.
Thanks in advance!

This is a guess, but take a look into "./configure --help".
There is a switch to "append SUFFIX to installed program names"
which you use during ./configure....

I've never used this, and one of the experts on the list may correct me....but it looks as though this /might/ solve your question.

Try --enable-cgipath=/cgi-bin/qmailadmin.cgi

After installing, you'll have to manually rename it (I think) because it is still installed as qmailadmin.cgi. But, the ##C in templates will be expanded to /cgi-bin/qmailadmin.cgi.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: sniffter.com

Reply via email to