Tom Collins writes:
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

It does not work :(( if I use --enable-cgipath=/cgi-bin/qmailadmin.cgi all it does is to create a directory named "qmailadmin.cgi" in the cgi-bin dir., but when I fill in the login infos and click "login", the browser still goes to http://mysite/cgi-bin/qmailadmin , not qmailadmin.cgi. I thought that it could work with --porgram-suffix=.cgi, but it simpy renames the executable to qmailadmin.cgi, (lol) but the variable inside (##C) is stil searching for qmailadmin without cgi extension. So folks, I still need a solution! Thanks!

Reply via email to